Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to remove failed cluster node (#2427) #2434

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/management/scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,14 @@ over one of its replicas and remove the node after it turned into a replica of t
new master. Obviously this does not help when you want to reduce the actual
number of masters in your cluster, in that case, a resharding is needed.

There is a special scenario where you want to remove a failed node.
You should not use the `del-node` command because it tries to connect to all nodes and you will encounter a "connection refused" error.
Instead, you can use the `call` command:

redis-cli --cluster call 127.0.0.1:7000 cluster forget `<node-id>`

This command will execute `CLUSTER FORGET` command on every node.

#### Replica migration

In Redis Cluster, you can reconfigure a replica to replicate with a
Expand Down
Loading