mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-18 09:46:24 +01:00
* master: unregister a volume server whose heartbeats stop A volume server sends a heartbeat every 5 s. When its host hangs or its network drops packets, its SendHeartbeat stream stays open, and the master unregisters it only once gRPC keepalive closes the connection, 60 s plus 20 s after the last frame. Until then the master keeps assigning writes to volumes with a copy on it, and those writes hang. SendHeartbeat now ends the stream when no heartbeat arrives for three pulses (15 s), which unregisters the server through the existing deferred path and tells clients its locations are gone. The server reconnects and registers again once it can reach the master. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * master: test that clients learn a silent server's volumes are gone Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * master: fail the silent-stream receive test instead of hanging Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>