mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
a98d8250545504d0e83787bc0e722cb9a2234e7d
- An idle cut's candidate step must visit at most the summary words plus a constant (counted, not timed) at 4,096 and 262,144 chunks (the 1 TiB SPACE shape); a one-chunk cut likewise (fails: the step visits every map entry, 4,097 and 262,144). - The cut must sync the store before its barrier, outside the pause, and report that time apart (fails: no sync before the barrier). A control checks the counter sees the pause's own sync. - Guards, passing today and kept: an unknown commit outcome that did not land loses no chunk (its chunks and a later write are published by the next cut, nothing else changes); the candidate set's OR-back keeps the summary and each lists exactly the set bits. - Seams: chunkCutStats.CandidateVisits, counting the candidate step's current visits, and PreSyncNs. The candidate set type (a chunk bitmap with a per-word summary: set O(1), walk O(C + S/4096), OR, clear) and the record runtime's take/return of it come from an earlier parked branch, rebased onto the one-byte record codes. 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%