Lines Matching defs:sentinelRedisInstance
163 typedef struct sentinelRedisInstance { struct
164 int flags; /* See SRI_... defines */
165 char *name; /* Master name from the point of view of this sentinel. */
166 char *runid; /* Run ID of this instance, or unique ID if is a Sentinel.*/
167 uint64_t config_epoch; /* Configuration epoch. */
168 sentinelAddr *addr; /* Master host. */
169 instanceLink *link; /* Link to the instance, may be shared for Sentinels. */
170 mstime_t last_pub_time; /* Last time we sent hello via Pub/Sub. */
171 mstime_t last_hello_time; /* Only used if SRI_SENTINEL is set. Last time
174 mstime_t last_master_down_reply_time; /* Time of last reply to
176 mstime_t s_down_since_time; /* Subjectively down since time. */
177 mstime_t o_down_since_time; /* Objectively down since time. */
201 struct sentinelRedisInstance *master; /* Master instance if it's slave. */ argument
219 struct sentinelRedisInstance *promoted_slave; /* Promoted slave instance. */ argument
225 } sentinelRedisInstance; argument