mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
15336d7485d0694db9ffcb95b0797058c84bff8f
The restore tests ran under a fixed 4-10 s test context; under load the whole test outran it and a HEAD read or claim failed with a deadline. They now use a hang guard derived from the test binary's own deadline. The detach-freeze test held the next CAS, which a running chunk loop could take instead of the detach, and gave the settlement 75 ms. It now holds only the detach CAS, uses a 2 s freeze bound (the settlement keeps 500 ms), and checks the abort against the deadlines the detach traced: the cut deadline at three quarters of the bound, the abort at or after it, the return within the bound. Refs #300 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%