mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
- hostlimit: Config.YieldAfter (S, default 5 min). ShouldYield answers yes only for a Normal hold at least S old while another cut on the host holds a live ticket this process has not judged stalled (dead tickets are reaped on the way); the probe runs only once the hold is old enough and takes no limiter lock. - storage: a cut attempt asks at each staging batch boundary and ends with ErrCutYielded, keeping what it staged; CutsYielded counts it, never as a failed cut. - durable: a yielded attempt is retried at the next poll with no backoff, on a ticket at the back (it was admitted), counted in status (CutYields) and not logged as a failure. - blockvolume: --host-limit-yield-after. Invariants: INV-HOST-CUT-YIELD-001; M7 states the rule. v1.1 notes carry it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>