mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
4f7e211adce72febc45289bced81ee036d2ca125
- hostlimit: Config.MaxHold (a fixed 5-minute hold limit) becomes NoProgress (default 60 s). Progress(id) records the work's progress, with no OS call; the hold's one timer, when it fires, arms again for the rest of the window if the work progressed, and revokes otherwise. A hold whose work keeps progressing is never revoked; a stalled one is revoked within the window. - blockvolume: --host-limit-no-progress; --host-limit-max-hold stays as a deprecated alias of it. - storage: BudgetProgress, the optional Budget that renews a hold; a cut attempt reports one unit of work per chunk compared, staged or uploaded. A hydrate-all holds one permit per chunk fill, so its hold is one fetch. - invariants: INV-HOST-HOLD-NO-PROGRESS-001; M7 states the rule. 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%