mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
a4c0ccbdde907b1f07312488d3f0c4c634ed183d
The pass kept three kinds of state: a chunk (unseen, queued, settled with one outcome, never re-checked), the HEAD view (replaced by each refresh) and each selected snapshot's view. Settling a chunk records its outcome and reports nothing. The pass closes on a read of HEAD and of the snapshots' state that names no unseen key; that same read is the final view. Findings are computed once, from the outcomes and the final view: at most one per chunk key and class, under the first root that names the key; a bad chunk that no root names is counted, not reported. A key the pass saw named, then not named, then named again is reported. If the closing rounds run out the result is incomplete, never clean. This replaces the reporting done as reads settled and as refreshes arrived, together with the late-reference list and the per-finding rechecks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%