Files
seaweedfs/seaweed-block/docs/spec/cfg
pingqiuandClaude Opus 5.5 fd6701e86b hostlimit: timer cuts wait in ticket order; pacing uses the budget over held slots
The change of this PR's 22 commits, carried onto current main as one
commit (its base was 1884 commits behind). Fitted to main:

- pacing: main's rule that fallback-only leases are not paced stays; a
  healthy lease is paced at the budget over the held normal and urgent
  slots (this PR's rule) instead of over the configured slot count.
  TestFallbackDoesNotUnpaceAHealthyLease keeps its property (a healthy
  lease beside a fallback lease is paced) with a 500 ms deadline, since a
  lone holder now gets the whole budget.
- the cut loop keeps main's attempted hook and afterStaging (a failed
  attempt that staged new chunks retries at the next poll), with the
  ticket handling; the random retry delay is gone, as this PR intends.
- imports and constants: neither side's removed ones return.
- invariants: main's new rows and this PR's new and restated rows; the
  slot-wait row is this PR's (ticket order, the next poll).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 10:54:03 -08:00
..