Replication setup #2674
-
Hi there! I expect that, after stopping the master instance, the replica will be promoted and replace disconnected master. But I see it only tries to reconnect: Is there a way to achieve the behaviour of automatic promotion? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the sentinel mechanism: https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/ Also Kvrocks Controller provides such capability (if you have a large cluster): https://github.com/apache/kvrocks-controller. (if you just have one master and one or several replicas, I recommend the sentinel way.) |
Beta Was this translation helpful? Give feedback.
You can use the sentinel mechanism: https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/
Also Kvrocks Controller provides such capability (if you have a large cluster): https://github.com/apache/kvrocks-controller. (if you just have one master and one or several replicas, I recommend the sentinel way.)