mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
- A test-only hook right before the capture barrier's Lock request; the pause tests hold the barrier shared for 300 ms after that handshake (not after admission plus a sleep), so the cut provably waited at its Lock and pre-barrier time is excluded. - The helper releases the shared hold on every path (also on a failed assertion) and joins the cut within a bound. - Design docs: barrierPauseNs runs from the Lock request and includes lockWaitNs. Mutants (declared, 4/4): pause timed after the Lock, lock wait unset, body drops the field, the hook fired after the Lock (no handshake). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>