mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
89f0ca8b30fb941436c1b86d6bf4a8cdca508960
- Test-only hooks: DetachVolume's StopIO can be replaced (the repeat and retry tests now force and observe the failed-drain branch instead of racing a cancelled context against a finished drain); the detach's cut and settlement deadlines are traced (the budget test checks 3/4 of the freeze, then the bound); the backend signals an I/O passing its readiness check right before the I/O lock (the drain test's arrival handshake replaces a 100 ms non-completion window, with bounded receives). - The delayed detach CAS worker is joined, bounded, also on failure. - chunkErrorCode: the detach sentinels decide before a catalog-error cause; the table rows now discriminate that order (no storage CAS sentinel behind them). - Invariants: INV-WS-DETACH-ABORT-001 and INV-WS-DETACH-FREEZE-001, and the M4 transition Holder (detaching) -> Holder. - Mutants (declared, 10/10): plus a catalog cause deciding before the sentinels; the whole-budget cut is now caught by the deadline check too. 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%