mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-29 20:37:39 +00:00
dccf2bae7d
If a bg sync thread is in progress, a key could be marked dirty before the desired change is actually made. This causes the running thread to pick up the change to 'dirty' keys and save off the as-yet unchanged key. Reorganize things to have the keys marked dirty only after they have been assigned so that an in-progress commit to disk only picks up a key after the relevant values have changed.