You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-10 22:42:30 +03:00
Sync::deleteObjects() was not always processing the whole list it
was given.
This commit is contained in:
@@ -116,12 +116,9 @@ void Synchronizer::deletedObjects(const vector<string> &keys)
|
|||||||
{
|
{
|
||||||
auto it = pendingOps.find(key);
|
auto it = pendingOps.find(key);
|
||||||
if (it != pendingOps.end())
|
if (it != pendingOps.end())
|
||||||
{
|
|
||||||
it->second->opFlags |= DELETE;
|
it->second->opFlags |= DELETE;
|
||||||
return;
|
else
|
||||||
}
|
pendingOps[key] = boost::shared_ptr<PendingOps>(new PendingOps(DELETE));
|
||||||
//makeJob(key);
|
|
||||||
pendingOps[key] = boost::shared_ptr<PendingOps>(new PendingOps(DELETE));
|
|
||||||
}
|
}
|
||||||
// would be good to signal to the things in opsInProgress that these were deleted. That would
|
// would be good to signal to the things in opsInProgress that these were deleted. That would
|
||||||
// quiet down the logging somewhat. How to do that efficiently, and w/o gaps or deadlock...
|
// quiet down the logging somewhat. How to do that efficiently, and w/o gaps or deadlock...
|
||||||
|
|||||||
Reference in New Issue
Block a user