You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
Wrote a version of mergejournal that uses more mem but reduces the io op
requirement. Added a safety valve; if the journal file is > 100MB, it will fall back to the previous IO op heavy but mem friendly version. This also includes a compiler warning fix for smls & smput.
This commit is contained in:
@ -669,7 +669,8 @@ void Synchronizer::synchronizeWithJournal(const string &sourceFile, list<string>
|
||||
count += err;
|
||||
}
|
||||
numBytesWritten += size;
|
||||
cache->rename(prefix, cloudKey, newCloudKey, size - bf::file_size(oldCachePath));
|
||||
assert(bf::file_size(oldCachePath) == MetadataFile:getLengthFromKey(cloudKey));
|
||||
cache->rename(prefix, cloudKey, newCloudKey, size - MetadataFile::getLengthFromKey(cloudKey));
|
||||
replicator->remove(oldCachePath);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user