"lua_modules/http/httpserver.lua" did not exist on "93249a52cbdc11be5a8a41eabb366f17e243772e"
  • antirez's avatar
    Sentinel: abort failover if no good slave is available. · 374eed7d
    antirez authored
    The previous behavior of the state machine was to wait some time and
    retry the slave selection, but this is not robust enough against drastic
    changes in the conditions of the monitored instances.
    
    What we do now when the slave selection fails is to abort the failover
    and return back monitoring the master. If the ODOWN condition is still
    present a new failover will be triggered and so forth.
    
    This commit also refactors the code we use to abort a failover.
    374eed7d
sentinel.c 94.2 KB