-failover-abort-not-elected master mymaster问题

redis配置sentinel,master shutdown后主从切换失败,提示错误redis

-failover-abort-not-elected master mymaster x.x.x.x 6379ast

缘由是sentinel.conf缺乏配置,若redis.conf中添加配置

protected-mode yes
bind 0.0.0.0di

则sentinel.conf中添加该属性。bind

相关文章
相关标签/搜索