Browse Source

Do not lose flusher queue entries when an "older object rescan" happens in parallel with flushing of an older version of another object

master
Vitaliy Filippov 2 months ago
parent
commit
148ff04aa8
  1. 7
      src/blockstore_flush.cpp

7
src/blockstore_flush.cpp

@ -377,7 +377,12 @@ stop_flusher:
else
{
repeat_it = flusher->sync_to_repeat.find(cur.oid);
if (repeat_it == flusher->sync_to_repeat.end())
if (repeat_it != flusher->sync_to_repeat.end())
{
if (repeat_it->second < cur.version)
repeat_it->second = cur.version;
}
else
{
flusher->sync_to_repeat[cur.oid] = 0;
break;

Loading…
Cancel
Save