1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-15 12:09:09 +03:00

Parameterized the journal size threshold to trigger a flush.

This commit is contained in:
Patrick LeBlanc
2019-07-05 14:20:39 -05:00
parent 46265585ed
commit d0c457a068
2 changed files with 4 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ class Synchronizer : public boost::noncopyable
boost::thread syncThread;
const boost::chrono::seconds syncInterval = boost::chrono::seconds(10);
void periodicSync();
size_t uncommittedJournalSize;
size_t uncommittedJournalSize, journalSizeThreshold;
SMLogging *logger;
Cache *cache;