mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
c67eec48a13f294df6e2390d2ef9d3cf9cfb64d5
Since the engine holds PublishHealthy until a durable ack observed after the recovery window closes, only the dual-lane rebuild close sent that ack. The legacy path (finishSession: every StartCatchUp, and StartRebuild without dual-lane; cmd/blockvolume defaults to --recovery-mode=legacy) sent only the session close, so a recovered replica stayed recovering. finishSession now sends, after a successful close, the same DurableAckResult the dual-lane close sends: DurableLSN is the replica's barrier-acknowledged achieved LSN, with the primary's tail and head. The ack follows the close callback, and both run without e.mu held. A failed close sends no ack. Fixes core/calibration C2/C3/C4/AllScenarios and cmd/sparrow AllThreePaths/Repeatable. Refs #94 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%