ContainerSolutions / redis-cluster-operator

A Kubernetes Operator for running Production Redis Clusters
Apache License 2.0
7 stars 3 forks source link

When a Redis Pod restarts, redis-cli check stops working #16

Closed chris-cmsoft closed 2 years ago

chris-cmsoft commented 2 years ago

When a Redis pod restarts, the old Node ID is reset to a new node. The new node successfully meets the cluster, and successfully joins the pool. The old Node though, is not forgotten as it should be, especially when running without any persistence.

If all the nodes are running, and the cluster is successfully serving all slots, we should be confident in removing the old node id and forgetting it.

If a master node fails, it is automatically failed over to it's replica. If a replica restarts, the new node successfully joins the previous master node.