Redis Sentinel Master syncing

42 views
Skip to first unread message

Tedley Meralus

unread,
Mar 22, 2018, 3:08:10 PM3/22/18
to Redis DB

Documentation: http://redis.io/topics/sentinel
With my understanding of Redis I can use Sentinel to monitor and handle automatic failover of Redis Master by promoting the slave to master when the master goes down.
Will Sentinel also vote to promote the Master back to Master if the Master comes back up?
I have been testing and haven't been able to get the sentinels to +convert after passing
$ redis-cli -a password1 -p 6380 DEBUG segfault
then
$ /usr/local/bin/redis-server start


Does anyone know if this is possible?



PiyushS

unread,
Mar 22, 2018, 3:15:34 PM3/22/18
to Redis DB
No it does not promote the old master back to master once it is up. It will only do a failover once the new master goes down.

xu ran

unread,
Mar 30, 2018, 4:58:33 AM3/30/18
to Redis DB
 In your Redis clusters, if an available slave instance exists, sentinel leader will take the process of failover and promote the slave to new master. Old master perhaps restarts after a few time.

在 2018年3月23日星期五 UTC+8上午3:08:10,Tedley Meralus写道:

Tedley Meralus

unread,
May 7, 2018, 4:37:06 PM5/7/18
to Redis DB
Thanks for the confirmation. I thought I had noticed something along those lines before. 
Reply all
Reply to author
Forward
0 new messages