Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aead
Copy link
Member

@aead aead commented Aug 22, 2025

This commit changes the behavior of Client.Restart such that it uses the cluster-wide restart mechanism to restart all nodes within a cluster.

The adv. of the new cluster-wide restart is that a client doesn't have to know all cluster nodes to restart all nodes within a cluster. Instead, it can delegate this task to one of the cluster nodes.

However, a client can still restart all cluster nodes itself by providing a list of hosts.

This commit changes the behavior of `Client.Restart` such that it
uses the cluster-wide restart mechanism to restart all nodes within
a cluster.

The adv. of the new cluster-wide restart is that a client doesn't have
to know all cluster nodes to restart all nodes within a cluster. Instead,
it can delegate this task to one of the cluster nodes.

However, a client can still restart all cluster nodes itself by providing
a list of hosts.

Signed-off-by: Andreas Auernhammer <[email protected]>
@aead aead requested a review from shtripat August 22, 2025 08:58
@aead aead self-assigned this Aug 22, 2025
Copy link

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aead aead merged commit f9a44b8 into main Aug 22, 2025
5 checks passed
@aead aead deleted the restart-cluster branch August 22, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants