mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
1e40249ec7f63025e7b8c1fc4c28ca5518fe236f
Review: a second busy refusal lost the kick and fell back to the hourly interval, so a snapshot session longer than the 30 s retry defeated it. The kick now stays pending until a pass the volume does not refuse as busy; every busy retry comes after the short delay. KickMaintenance reports only a running loop (not a stopped one, nor one that ended on a fence or lineage change). Tests: busy -> busy -> success, then back on the interval; kicks during a held pass coalesce into exactly one follow-up; the running-loop check; the cut-cancels-cleaning regression bounds every wait and cancels and joins its cleaning on failure. Protocol contract (M8 timing change): MaintenanceOwner.tla gains the kick, the session that makes a pass busy, and NoLostKick, with a negative config (lost_kick: a busy pass drops the kick) that violates it; the four existing configs keep their results. The design diagram gains the kick and busy-retry edges; the ledger gains INV-MAINT-KICK-001 and INV-MAINT-KICK-RETRY-001; the spec README records the run. 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%