Lines Matching refs:SRI_O_DOWN
58 #define SRI_O_DOWN (1<<4) /* Objectively down (confirmed by others). */ macro
1983 (master->flags & (SRI_S_DOWN|SRI_O_DOWN)) == 0 && in sentinelMasterLooksSane()
2588 ((ri->master->flags & (SRI_O_DOWN|SRI_FAILOVER_IN_PROGRESS)) || in sentinelSendPeriodicCommands()
2661 if (ri->flags & SRI_O_DOWN) flags = sdscat(flags,"o_down,"); in addReplySentinelRedisInstance()
2712 if (ri->flags & SRI_O_DOWN) { in addReplySentinelRedisInstance()
2871 if (ri->flags & (SRI_S_DOWN|SRI_O_DOWN)) continue; in sentinelIsQuorumReachable()
3258 if (ri->flags & SRI_O_DOWN) status = "odown"; in sentinelInfoCommand()
3492 if ((master->flags & SRI_O_DOWN) == 0) { in sentinelCheckObjectivelyDown()
3495 master->flags |= SRI_O_DOWN; in sentinelCheckObjectivelyDown()
3499 if (master->flags & SRI_O_DOWN) { in sentinelCheckObjectivelyDown()
3501 master->flags &= ~SRI_O_DOWN; in sentinelCheckObjectivelyDown()
3674 serverAssert(master->flags & (SRI_O_DOWN|SRI_FAILOVER_IN_PROGRESS)); in sentinelGetLeader()
3822 if (!(master->flags & SRI_O_DOWN)) return 0; in sentinelStartFailoverIfNeeded()
3928 if (slave->flags & (SRI_S_DOWN|SRI_O_DOWN)) continue; in sentinelSelectSlave()