mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
f2b9d388853b1485571dbe2b25939566ace55494
A cut recorded its equal-to-HEAD marks only after the whole compare loop, so a cut that ran out of time kept nothing and the next request compared every chunk again. After a holder restart a restore target's read-filled chunks are all candidates of its first cut (the clean-fill records live in memory only), so at 1 TiB that compare is growing work under one request's fixed bound. Each equal chunk is now marked at its compare, at the version the barrier captured and only while the chunk still has it (the same mark as after the loop), so the next request continues from there. 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%