mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
68ddd3bd92019541b9d29e771845e224cfb5c717
A fresh-from-HEAD volume (a restore target) fills a chunk from HEAD on read, but its owned-map entry stays UNKNOWN, so every filled chunk was a cut candidate: the next cut re-read and re-hashed it locally only to find HEAD's bytes. A target read back in full made its detach's final cut as long as reading the whole volume, with nothing to upload. fillOnce records the chunk's version when it filled the chunk wholly from HEAD with no local block and no mutation during the fill; captureCandidates does not count UNKNOWN alone for such a chunk while that version holds. Memory only, reset by a BASE install; the UNKNOWN bits are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%