admin管理员组文章数量:1023009
redis sentinel is aimed at providing failover: elect new master node and provide it to a client. Why slave nodes are unable to elect by themselves ?(through consensus protocol)
Clustered redis nodes, in contrast, can elect new master. Why don't sentinel nodes do the election in clustered redis?
redis sentinel is aimed at providing failover: elect new master node and provide it to a client. Why slave nodes are unable to elect by themselves ?(through consensus protocol)
Clustered redis nodes, in contrast, can elect new master. Why don't sentinel nodes do the election in clustered redis?
Share Improve this question asked Nov 18, 2024 at 20:46 voippvoipp 1,4796 gold badges21 silver badges38 bronze badges1 Answer
Reset to default 0It's just because our manual failover API call eventually is directed to sentinels by internal algorithms. It's quite natural for sentinel to do so as sentinel has responsibilities to monitor nodes.
However, as you wonder, some people try to make changes so that we can deal with it like cluster (ask replicas instead of sentinels). For example, this is an issue in valkey project. https://github/redis/redis/issues/13118
redis sentinel is aimed at providing failover: elect new master node and provide it to a client. Why slave nodes are unable to elect by themselves ?(through consensus protocol)
Clustered redis nodes, in contrast, can elect new master. Why don't sentinel nodes do the election in clustered redis?
redis sentinel is aimed at providing failover: elect new master node and provide it to a client. Why slave nodes are unable to elect by themselves ?(through consensus protocol)
Clustered redis nodes, in contrast, can elect new master. Why don't sentinel nodes do the election in clustered redis?
Share Improve this question asked Nov 18, 2024 at 20:46 voippvoipp 1,4796 gold badges21 silver badges38 bronze badges1 Answer
Reset to default 0It's just because our manual failover API call eventually is directed to sentinels by internal algorithms. It's quite natural for sentinel to do so as sentinel has responsibilities to monitor nodes.
However, as you wonder, some people try to make changes so that we can deal with it like cluster (ask replicas instead of sentinels). For example, this is an issue in valkey project. https://github/redis/redis/issues/13118
本文标签: Failover in redis sentinel vs clusterStack Overflow
版权声明:本文标题:Failover in redis sentinel vs cluster - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745595251a2158128.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论