When removing a redis node, it is necessary to specify whether a master or slave node should be removed, and the URI
of the node that should be removed. In some cases, if it's requested to remove a master node at a given URI, the
redis cluster node at that given URI is not a master. The same is the case when removing a slave node. In those
cases, it is necessary to run a FAILOVER command on the slave node that should become the master node. Once the
failover is complete, the redis node at the given URI now has the desired role--master or slave, and it can then be
removed.
When removing a redis node, it is necessary to specify whether a master or slave node should be removed, and the URI of the node that should be removed. In some cases, if it's requested to remove a master node at a given URI, the redis cluster node at that given URI is not a master. The same is the case when removing a slave node. In those cases, it is necessary to run a
FAILOVER
command on the slave node that should become the master node. Once the failover is complete, the redis node at the given URI now has the desired role--master or slave, and it can then be removed.