Files
seaweedfs/seaweed-block/core/frontend/durable/testutil
pingqiuandClaude Opus 5.5 e74acb6b91 blockvolume, durable: the holder's cleaning is on by default and runs after each snapshot delete
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>
2026-11-25 16:11:00 -08:00
..