mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
5aab45c9ddaa585ccb31735c6b60d8f54841cf3d
DetachFreeze now witnesses the held detach CAS itself: it was held, ran under exactly the cut deadline, and was released by that deadline expiring before the detach returned. The budget is checked from its one origin (the settlement deadline a quarter of the bound after the cut deadline), not against a start time sampled outside DetachVolume. The revocation ACK test registers, before either worker launches, an idempotent release and a join bounded on its own, so a blocked ACK that used up the fixture context still releases and joins the held operation. hangGuard keeps a tenth of the remaining budget (at most 30 s) before the binary's deadline, also for short or nearly expired budgets, and an expired budget gives an expired guard; unit-tested. Refs #300 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%