1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

MCOL-3577: Found an issues with the order of dropPrefix Cache before Sync.

This commit is contained in:
benthompson15
2019-11-20 11:59:22 -06:00
parent 5bbd21b8e0
commit abd7444809

View File

@@ -181,8 +181,8 @@ void Ownership::releaseOwnership(const bf::path &p, bool isDtor)
// start flushing
boost::thread xfer([this, &p, &done] { this->touchFlushing(p, &done); });
Cache::get()->dropPrefix(p);
Synchronizer::get()->dropPrefix(p);
Cache::get()->dropPrefix(p);
done = true;
xfer.interrupt();
xfer.join();