You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-15 12:09:09 +03:00
Merging in the kpis-1 branch.
Squashed commit of the following: commit dfa92945f3d8ffb304ee9272ab0dd0a500070da2 Author: Patrick LeBlanc <patrick.leblanc@mariadb.com> Date: Fri Aug 2 09:21:13 2019 -0500 Made unit_tests compile, made the printKPI fcn in CloudStorage virtual. commit e3a9f0ac5559db1016911fbde0796a9086f1b8f8 Author: Patrick LeBlanc <patrick.leblanc@mariadb.com> Date: Thu Aug 1 16:07:59 2019 -0500 Added the signal handler to print KPIs (SIGUSR2), made code use the KPIs. It builds here, not tested or proof-read yet. commit c3b89a57fe852394f7dbf37fb5780707b8bcc2ac Author: Patrick LeBlanc <patrick.leblanc@mariadb.com> Date: Thu Aug 1 13:30:24 2019 -0500 Checkpointing. Got it to build but not complete yet. commit 35b76f232a29652cec65916f5c95ed240a6eaf36 Author: Patrick LeBlanc <patrick.leblanc@mariadb.com> Date: Thu Aug 1 13:00:33 2019 -0500 Checkpointing. doesn't build yet.
This commit is contained in:
@@ -43,6 +43,7 @@ class Synchronizer : public boost::noncopyable
|
||||
// for testing primarily
|
||||
boost::filesystem::path getJournalPath();
|
||||
boost::filesystem::path getCachePath();
|
||||
void printKPIs() const;
|
||||
private:
|
||||
Synchronizer();
|
||||
|
||||
@@ -97,6 +98,11 @@ class Synchronizer : public boost::noncopyable
|
||||
|
||||
void syncNow(const boost::filesystem::path &prefix); // a synchronous version of forceFlush()
|
||||
|
||||
// some KPIs
|
||||
size_t numBytesRead, numBytesWritten, numBytesUploaded, numBytesDownloaded,
|
||||
flushesTriggeredBySize, flushesTriggeredByTimer;
|
||||
ssize_t mergeDiff;
|
||||
|
||||
SMLogging *logger;
|
||||
Cache *cache;
|
||||
Replicator *replicator;
|
||||
|
||||
Reference in New Issue
Block a user