mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
TestRetiredLeaderClosesItsFollowerOnlyWhenAllIsStored retired the partition right after an unacked publish. When the abandon closed the client connection before gRPC's writer goroutine had sent the follow stream's headers, the transport refused to start the stream, so the follower never saw it and could not report it broken. A publisher only gets its ack once the follower holds the entry, so wait for that ack as well. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>