mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
173df33abd1b16ed572a0fc0d438b571f20bc371
agent-workspace-design.md: - section 3: a HEAD, a snapshot and a fork root are each a complete map (no backing chain, no per-layer bitmap); a cut uploads only changed chunks and rewrites only their segments; the dirty bitmap is local holder state, not part of a snapshot; a worked example (100 chunks, init, 20 rewritten, snap1: 120 objects, deleting init frees 20). - section 6: the GC roots line now says what the code does: a deleted snapshot's attempt stays a root for one grace period after its delete time (Collector.snapshotAttemptHeads), then stops counting. - section 6: freeing an old snapshot's data in three steps (delete the name, GC --apply with two marks a grace apart, SeaweedFS volume vacuum) with the timing at the default grace, and why GC uses a reachability mark rather than reference counts. No invariant row changes (INV-GC-REACHABLE-001 already covers attempts). 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%