Redis replication config

前端 未结 1 696
不思量自难忘°
不思量自难忘° 2021-01-16 10:12

I have a redis master setup with 2 slaves and a sentinal on each.

If the master goes down for say 2 seconds (+sdown) and comes back up (-sdown), it reads the last

相关标签:
1条回答
  • 2021-01-16 10:39

    You cannot do a partial failover, either you do it or you don't in terms of promoting the slave to master.

    From Redis Sentinel:

    Automatic failover. If a master is not working as expected, Sentinel can start a failover process where a slave is promoted to master, the other additional slaves are reconfigured to use the new master, and the applications using the Redis server informed about the new address to use when connecting.

    0 讨论(0)
提交回复
热议问题