This commit is contained in:
yongman 2018-11-23 23:51:16 +08:00
parent 2961c89161
commit 221dfbd322

View File

@ -3505,7 +3505,7 @@ static clusterManagerNode *clusterManagerNodeWithLeastReplicas() {
return node; return node;
} }
/* This fucntion returns a random master node, return NULL if none */ /* This function returns a random master node, return NULL if none */
static clusterManagerNode *clusterManagerNodeMasterRandom() { static clusterManagerNode *clusterManagerNodeMasterRandom() {
int master_count = 0; int master_count = 0;