Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiderkwast authored Dec 15, 2023
1 parent 811d293 commit ece35d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/management/scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,13 @@ 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.

Additionally, there is a special scenario where you want to remove a failed node. You should not use the `del-node` command because you will encounter a "connection refused" error. Instead, you can use the `call` command :
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.
This command will execute `CLUSTER FORGET` command on every node.

#### Replica migration

Expand Down

0 comments on commit ece35d4

Please sign in to comment.