mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
c525b5f40bd5921556024ba0468469025c24fa7b
TailBytes now runs from the start of the last pre-barrier pass to the barrier lock, since the pause flushes all of that. A loaded cut right after a fill, with the flusher draining, did not converge: a flusher cycle landing in the last pass left the pause about 4 MiB to flush. The last pass now runs with new flusher extent writes held until the barrier is released (one pass and the pause; the cut needs the WAL only up to H), so the pause flushes the guest's WAL tail alone. The flusher waits before an extent write, holding no store lock, and stops waiting when it is stopped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.8%
Rust
7.6%
Shell
2.7%
templ
1.5%
Java
0.9%
Other
2.2%