mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
02c153b06606bef5d030283d7bca9324dffe90b0
A fresh store (its .chunkfresh marker present at the attach, no BASE) has never had a write or a fill reach it, so every chunk its claimed HEAD does not name is zero on both sides. Its attach samples, under the capture barrier, the token of each such chunk whose owned-map entry is still the creation value, and clears only their UNKNOWN through the cut's own map publication, before the attach commit. The first cut of a fresh volume, hand-over target or restore target then scans only the chunks written since, not every chunk of the volume. Chunks HEAD names stay absent and are hydrated from HEAD. The premise is enforced: every implementation other than walstore-chunk, explicit as well as auto, refuses a root carrying chunk metadata, so no plain walstore write can reach a store whose marker says none did. 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%