mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
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>