Skip to content
  • Eric Cano's avatar
    Fixed race potentially leading to contention. · 43cef6ae
    Eric Cano authored
    In the MemQueue, the promise for the next batch was set after the queue was committed, but
    before the lock was released (by the last user of the queue, through a shared pointer). This
    would lead to an uselessly early start of the next queue batch for writing an avoidable contention
    on the object store lock. This would no lead to a pile up though as only 2 thread would be contended
    (previous and early starting next).
    43cef6ae