You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-13 23:02:14 +03:00
Changed the sync trigger to include outstanding journal size.
Right now it's hardcoded at 50MB for testing. Will parameterize later.
This commit is contained in:
@@ -1041,7 +1041,7 @@ bool syncTest1()
|
||||
assert(!err);
|
||||
assert(exists);
|
||||
|
||||
sync->newJournalEntry(key);
|
||||
sync->newJournalEntry(key, 0);
|
||||
sync->forceFlush();
|
||||
sleep(1); // let it do what it does
|
||||
|
||||
@@ -1080,7 +1080,7 @@ bool syncTest1()
|
||||
// make the journal again, call sync->newJournalObject()
|
||||
makeTestJournal((journalPath / (newKey + ".journal")).string().c_str());
|
||||
cache->newJournalEntry(bf::file_size(journalPath / (newKey + ".journal")));
|
||||
sync->newJournalEntry(newKey);
|
||||
sync->newJournalEntry(newKey, 0);
|
||||
sync->forceFlush();
|
||||
sleep(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user