You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I run 2 redis nodes with sentinel in replica mode, when i stop master node my slave will promote to master but when i started the last master again sentinel doesnt return that redis to master mode...
I want , when my last master get healthy, sentinel promote it as master again but it still is slave and last slave is master
How can i tell sentinel to do this after a time? forexample when master become healthy after 3 minutes or immadiately promote the last master to master again?
The text was updated successfully, but these errors were encountered:
Hello, what you can do is manually failover the promoted slave, then the old master, if it is healthy, will be promoted to master by sentinel..please check SENTINEL FAILOVER command..
Ok, Based on what I know there is no automatic way to config this in Redis side, but if you really expect this happen, you can do something extra for writing an extra process monitoring the previous master status, if it is online, then send the SENTINEL FAILOVER to Sentinel
Hi,
I run 2 redis nodes with sentinel in replica mode, when i stop master node my slave will promote to master but when i started the last master again sentinel doesnt return that redis to master mode...
I want , when my last master get healthy, sentinel promote it as master again but it still is slave and last slave is master
How can i tell sentinel to do this after a time? forexample when master become healthy after 3 minutes or immadiately promote the last master to master again?
The text was updated successfully, but these errors were encountered: