aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-02 23:19:14 -0800
committerGitHub <noreply@github.com>2025-12-02 23:19:14 -0800
commite9da64f62a141d06dd1cd913a739b91cad016dce (patch)
tree79302157b4014c92d6e6e146f47bce31c2e98deb /weed/s3api
parent5ed0b00fb937a01d7ffecd89fbab97e5ce7f6aaa (diff)
downloadseaweedfs-e9da64f62a141d06dd1cd913a739b91cad016dce.tar.xz
seaweedfs-e9da64f62a141d06dd1cd913a739b91cad016dce.zip
fix: volume server healthz now checks local conditions only (#7610)
This fixes issue #6823 where a single volume server shutdown would cause other healthy volume servers to fail their health checks and get restarted by Kubernetes, causing a cascading failure. Previously, the healthz handler checked if all replicated volumes could reach their remote replicas via GetWritableRemoteReplications(). When a volume server went down, the master would remove it from the volume location list. Other volume servers would then fail their healthz checks because they couldn't find all required replicas, causing Kubernetes to restart them. The healthz endpoint now only checks local conditions: 1. Is the server shutting down? 2. Is the server heartbeating with the master? This follows the principle that a health check should only verify the health of THIS server, not the overall cluster state. Fixes #6823
Diffstat (limited to 'weed/s3api')
0 files changed, 0 insertions, 0 deletions