Home
last modified time | relevance | path

Searched refs:SRI_SENTINEL (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dsentinel.c56 #define SRI_SENTINEL (1<<2) macro
1042 serverAssert(ri->flags & SRI_SENTINEL); in sentinelTryConnectionSharing()
1078 serverAssert(ri->flags & SRI_SENTINEL); in sentinelUpdateSentinelAddressInAllMasters()
1174 serverAssert(flags & (SRI_MASTER|SRI_SLAVE|SRI_SENTINEL)); in createSentinelRedisInstance()
1193 else if (flags & SRI_SENTINEL) table = master->sentinels; in createSentinelRedisInstance()
1310 else if (ri->flags & SRI_SENTINEL) return "sentinel"; in sentinelRedisInstanceTypeStr()
1592 else if (ri->flags & SRI_SENTINEL) return "sentinel"; in sentinelGetInstanceTypeString()
1963 } else if (ri->flags & SRI_SENTINEL) { in sentinelSendAuthIfNeeded()
2062 if (link->cc && (ri->flags & SRI_SENTINEL || link->pc)) in sentinelReconnectInstance()
2702 if ((ri->flags & SRI_SENTINEL) == 0 && in sentinelSendPeriodicCommands()
[all …]