mirror of
https://github.com/fluencelabs/redis
synced 2025-06-25 15:01:33 +00:00
Cluster: function clusterGetSlaveRank() added.
Return the number of slaves for the same master having a better replication offset of the current slave, that is, the slave "rank" used to pick a delay before the request for election.
This commit is contained in:
@ -1073,6 +1073,7 @@ void processClientsWaitingReplicas(void);
|
||||
void unblockClientWaitingReplicas(redisClient *c);
|
||||
int replicationCountAcksByOffset(long long offset);
|
||||
void replicationSendNewlineToMaster(void);
|
||||
long long replicationGetSlaveOffset(void);
|
||||
|
||||
/* Generic persistence functions */
|
||||
void startLoading(FILE *fp);
|
||||
|
Reference in New Issue
Block a user