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 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 -
-
-
@avibryant basically Sentinels continuously re-evaluate the state. The problem with DEMOTE is that it's instead the first "stored" info.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@avibryant so we need to handle it with some case in special conditions...Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.