Searched refs:slave_priority (Results 1 – 4 of 4) sorted by relevance
199 int slave_priority; /* Slave priority according to its INFO output. */ member1198 ri->slave_priority = SENTINEL_DEFAULT_SLAVE_PRIORITY; in createSentinelRedisInstance()2103 ri->slave_priority = atoi(l+15); in sentinelRefreshInstanceInfo()2799 addReplyBulkLongLong(c,ri->slave_priority); in addReplySentinelRedisInstance()3887 if ((*sa)->slave_priority != (*sb)->slave_priority) in compareSlavesForPromotion()3888 return (*sa)->slave_priority - (*sb)->slave_priority; in compareSlavesForPromotion()3931 if (slave->slave_priority == 0) continue; in sentinelSelectSlave()
572 server.slave_priority = atoi(argv[1]); in loadServerConfigFromString()948 "slave-priority",server.slave_priority,0,LLONG_MAX) {1108 config_get_numerical_field("slave-priority",server.slave_priority);1813 …rewriteConfigNumericalOption(state,"slave-priority",server.slave_priority,CONFIG_DEFAULT_SLAVE_PRI…
897 int slave_priority; /* Reported in INFO and used by Sentinel. */ member
1556 server.slave_priority = CONFIG_DEFAULT_SLAVE_PRIORITY; in initServerConfig()3170 server.slave_priority, in genRedisInfoString()