mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
81e0ea739215ea282cca139862811d424fa17f14
claude05's rulings (2026-11-15 22:53Z): the surfaces and the controls, with the behavior stubbed (the planner keeps everything, the policy is not stored, usage reports nothing, no fork needs a parent, the class is neither validated nor stored). - chunkstore: snapshot class (semantic / pinned) on the snapshot; RetentionPolicy stored on the VOLUME entry (extended attributes, CAS on a revision); planRetention / Retain [dry run]; Usage (live, per-snapshot exclusive, stored bytes). - volume: GET /status/chunk?volume= (usage and policy); the snapshot route carries "class". - sw-block: ops chunk usage, ops chunk retain [--dry-run | --set-policy --keep-*], snapshot --class / --pin / --expires. - controls: policy edges (newest N with name tie-break; pinned never expired by count or age but unpinned past its expiry; semantic and labeled snapshots not exempt; younger than T and clock skew; hourly buckets; fork parent), an agent checkpointing every step stays bounded, dry run writes nothing, retain keeps N + pinned and frees names, the policy CAS, class validation, an incomplete fork's parent kept, usage from manifests; CLI usage/retain; and a real-service test against SeaweedFS (chunkstore_integration, CHUNKSTORE_WEED): N+5 snapshots plus pinned ones -> retain leaves N + pinned, accounting follows. 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%