mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
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>
8 lines
237 B
INI
8 lines
237 B
INI
SPECIFICATION Spec
|
|
CONSTANTS AllowOverlap = TRUE
|
|
ReleaseBeforeJoin = FALSE
|
|
AllowStaleRearm = FALSE
|
|
LoseKickOnBusy = FALSE
|
|
INVARIANTS OneOwner JoinedBeforeRelease NoCatchupQueue CurrentHandleAtAdmission NoLostKick
|
|
CHECK_DEADLOCK FALSE
|