forked from vitalif/vitastor
Do not lose flusher queue entries when an "older object rescan" happens in parallel with flushing of an older version of another object
parent
e74af9745e
commit
148ff04aa8
|
@ -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…
Reference in New Issue