mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
c921de54e02f765018d7c5b18c6ebfadc460bf4e
Page writeback has no order across offsets of one file, so an extent written from a WAL record that is not yet durable could survive a power loss that loses the record: extent bytes no recovered record or map entry accounts for, under a chunk certified equal to HEAD. The flusher now skips dirty entries above the synced (acknowledged) WAL frontier; they stay dirty until a Sync or the pressure sync makes them durable, and the checkpoint is computed from the written entries only (it was already clamped to that frontier). Recover and the install log already fsync their records before raising the frontier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%