aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-10 13:52:52 -0800
committerGitHub <noreply@github.com>2025-12-10 13:52:52 -0800
commit924d410dc88fcf3e72fcaac5d37a526890bdba79 (patch)
treee57a2c1291b3a9dc4c6b3fd992e9fb6d71bf1b37 /weed/command/filer.go
parent2fa36549dff81d07fe946178c6f2df8f4f249e16 (diff)
downloadseaweedfs-924d410dc88fcf3e72fcaac5d37a526890bdba79.tar.xz
seaweedfs-924d410dc88fcf3e72fcaac5d37a526890bdba79.zip
fix: weed shell can't connect to master when no volume servers (#7710)
fix: weed shell can't connect to master when no volume servers (#7701) When there are no volume servers registered, the master's KeepConnected handler would not send any initial message to clients. This caused the shell's masterClient to block indefinitely on stream.Recv(), preventing it from setting currentMaster and completing the connection handshake. The fix ensures the master always sends at least one message with leader information to newly connected clients, even when ToVolumeLocations() returns an empty slice.
Diffstat (limited to 'weed/command/filer.go')
0 files changed, 0 insertions, 0 deletions