As you can see it's one of the simplest approaches: add the old master as a slave ASAP, but flagged. Convert it when back claiming be master
@antirez the case I'm thinking of is: server A with the master goes down, that server has a sentinel configured to monitor the master on A,
-
-
@antirez server A comes back up, its master gets demoted and slaved to B but if you ask the sentinel on A it still thinks the master is on A -
@avibryant in that case Sentinel handles it well, since it asks INFO and sees it's a slave instead to be a master. -
@antirez ok, thanks. It seemed before that redirect-to-master wasn't happening, but I can't reproduce, so maybe I was mistaken. -
@avibryant you are right, I'm able to reproduce that sometimes the role changed is not sensed. Investigating ...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.