mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
0e7c439ce3d286d673cf69a6888b1857542ec907
A plain detach whose final cut ran to the caller's deadline settled on that already expired context: its first remote call failed and the caller was told the outcome was unknown, while the background settlement found nothing committed and resumed serving a moment later. With a caller deadline, the cut is now cancelled min(4 s, a quarter of the bound) early and the settlement runs on WithoutCancel(cutCtx) up to the deadline, the shape the live detach already uses. Outcomes are unchanged: an undecidable settlement still answers outcome unknown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%