From 94030fa4d7962a8e241ad27cadbc71a0f1b61d1b Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 21 Mar 2015 12:12:23 +0100 Subject: [PATCH] Two cluster.c comments improved. --- src/cluster.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 17270b0f..e1ae92f0 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -917,7 +917,8 @@ void clusterRenameNode(clusterNode *node, char *newname) { * CLUSTER config epoch handling * -------------------------------------------------------------------------- */ -/* Return the greatest configEpoch found in the cluster. */ +/* Return the greatest configEpoch found in the cluster, or the current + * epoch if greater than any node configEpoch. */ uint64_t clusterGetMaxEpoch(void) { uint64_t max = 0; dictIterator *di; @@ -3634,7 +3635,7 @@ sds clusterGenNodeDescription(clusterNode *node) { else ci = sdscatlen(ci," - ",3); - /* Latency from the POV of this node, link status */ + /* Latency from the POV of this node, config epoch, link status */ ci = sdscatprintf(ci,"%lld %lld %llu %s", (long long) node->ping_sent, (long long) node->pong_received,