Files
seaweedfs/seaweed-block/docs/design
pingqiuandClaude Opus 5.5 0e7c439ce3 fix(durable): a plain detach keeps a settlement reserve inside the caller's bound
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>
2026-11-27 22:17:58 -08:00
..