mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
45efc13cf60091826dab65d7a23ad28e6e37b15a
A Sync queued behind a failing fsync, and writers waiting for the store lock behind a failing append, passed the entry check before the fault was latched. The latch is now checked where they commit: - syncWALBatch, before its dedup return and before any fsync, so a batch queued behind a failed fsync neither fsyncs again nor reports success; - Sync, under the store lock before it publishes a frontier (covering a deduplicated Sync and a fault latched by a flusher fsync); - Write, WriteBatch (including the multi-block path) and ApplyEntry, under the append lock before allocating LSNs or touching the WAL; - persistCheckpoint, under the store lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%