diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index bba396048c..faeca2b508 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -116,9 +116,7 @@ int verifyClusterNodeId(const char *name, int length); sds clusterEncodeOpenSlotsAuxField(int rdbflags); int clusterDecodeOpenSlotsAuxField(int rdbflags, sds s); -/* Only primary that own slots have the voting rights. - * And only voting primary will be counted in cluster size. - * +/* Only primaries that own slots have voting rights. * Returns 1 if the node has voting rights, otherwise returns 0. */ static inline int clusterNodeIsVotingPrimary(clusterNode *n) { return (n->flags & CLUSTER_NODE_PRIMARY) && n->numslots;