issues
search
eBay
/
Jungle
An embedded key-value store library specialized for building state machine and log store
Apache License 2.0
224
stars
54
forks
source link
Fix to race between adding new log file and log flushing
#155
Closed
greensky00
closed
1 year ago
greensky00
commented
1 year ago
If log flushing begins between adding new log file and pushing the first record (both are in
setSN
), local sequence number becomes
-1
, which eventually causes setting invalid
syncedSeq
of that new file.
setSN
), local sequence number becomes-1
, which eventually causes setting invalidsyncedSeq
of that new file.