You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-18 13:54:11 +03:00
Checkpointing some paranoid assertions & some fixes I noticed.
This commit is contained in:
@@ -257,6 +257,12 @@ void Synchronizer::process(list<string>::iterator name)
|
||||
pending->opFlags, e.what());
|
||||
success = false;
|
||||
sleep(1);
|
||||
continue;
|
||||
/* TODO: Need to think this about this requeue logic again. The potential problem is that
|
||||
there may be threads waiting for this job to finish. If the insert doesn't happen because
|
||||
there is already a job in pendingOps for the same file, then the threads waiting on this
|
||||
job never get woken, right?? Or, can that never happen for some reason?
|
||||
*/
|
||||
s.lock();
|
||||
auto inserted = pendingOps.insert(pair<string, boost::shared_ptr<PendingOps> >(key, pending));
|
||||
if (!inserted.second)
|
||||
|
||||
Reference in New Issue
Block a user