concurrent-access-during-compaction-is-doubly-unsafe

Status: OUT

Compaction under concurrent access is unsafe in two independent failure modes: concurrent readers and writers have no synchronization (no locks, latches, or snapshots on either path), AND compaction itself has no crash-safe file operations — concurrent access can corrupt live state silently, and a crash during this unsynchronized compaction produces irrecoverable data loss.

Justifications

No concurrency control on either path plus no crash-safe file operations equals two independent failure modes

Depends on (SL): concurrency-unsafe-on-both-read-and-write-paths, post-crash-compaction-produces-irrecoverable-corruption

Depended on by

JSON