mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
e74acb6b91fe11f18979d14e05604d697419aff7
Owner decision: automatic cleaning is on in v1. The holder's maintenance pass already cleans through its own layout remote (holder-only, one entry, refused while a snapshot session is open, the two-step conditional removal, a cut or stop cancels it with bounded waits); it was behind --chunk-maintenance-gc, off by default. - --chunk-maintenance-gc defaults to true; =false is the one switch that turns the cleaning off. The pass still runs every --chunk-maintenance-interval (default 1h; 0 disables the whole pass). - A snapshot deleted through the holder's control route kicks the volume's maintenance loop for one pass now (kicks coalesce; the same bounded pass). A kicked pass refused as busy (a cut session open) is tried again after 30 s instead of an interval later. Retention's deletes already precede the cleaning in the same pass; a delete made offline is cleaned by the next periodic pass. - Docs: operator guide, standalone deployment, and the spec README line that called automatic GC opt-in. 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%