mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
62ee69b0e2203c374471a52816c8df062cb8eba5
Seams: Config.YieldAfter (S, default 5 min), Limiter.ShouldYield (never, for now), storage.ErrCutYielded, storage.BudgetYield, ChunkLayerStats. CutsYielded and CutScheduleStatus.CutYields. - TestShouldYieldOnlyAfterSWithALiveWaiter: a Normal hold yields only once it is S old and another process holds a live ticket; never a lone hold, never before S, never an urgent hold, not for a ticket judged stalled. Fails here: no hold ever yields. - TestCutYieldsAtABatchBoundaryAndKeepsItsStaging: a cut whose budget asks it to yield ends at the next staging batch boundary with ErrCutYielded, counted as a yield, not a failure, publishes nothing, and its staged chunks are kept for the next attempt. Fails here: the cut never yields. - TestChunkLoop_AYieldIsRetriedAtOnceAndCountedApart: a yielded attempt is retried at the next poll, never backed off as a failure, and status counts it apart. Fails here: the retry came 1.1 s later. 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%