You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-17 01:02:23 +03:00
Update Metadata and Replicator to use configure file paths. Update unit_tests to work and cleanup as expected.
This commit is contained in:
@@ -422,10 +422,7 @@ void Synchronizer::synchronizeWithJournal(const string &sourceFile, list<string>
|
||||
}
|
||||
|
||||
// update the metadata for the source file
|
||||
// note: a temporary fix. Metadatafile needs the full path to the metadata atm. Fix this
|
||||
// once MDF knows where to look.
|
||||
string metaPrefix = Config::get()->getValue("ObjectStorage", "metadata_path");
|
||||
MetadataFile md((metaPrefix + "/" + sourceFile).c_str());
|
||||
MetadataFile md(sourceFile.c_str());
|
||||
md.updateEntry(MetadataFile::getOffsetFromKey(key), newKey, size);
|
||||
replicator->updateMetadata(sourceFile.c_str(), md);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user