Browse Source
Go's EcVolume.Sync() flushes both the .ecj journal and the .ecx index to disk. The Rust version only flushed .ecj, leaving in-place deletion marks in .ecx unpersisted until close(). This could cause data inconsistency if the server crashes after marking a needle deleted in .ecx but before close().rust-volume-server
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue