From e4b481a5f652bd0390e64f9276fcc1312caff614 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 5 Mar 2013 12:17:30 +0100 Subject: [PATCH] Cluster: A comment updated in clusterCron(). --- src/cluster.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 327cbecc0..1bc4cc0cb 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1313,11 +1313,8 @@ void clusterCron(void) { * help if it is not transitive (that is, if it does not * turn into a FAIL state). * - * The FAIL condition is also reversible if there are no slaves - * for this host, so no slave election should be in progress. - * - * TODO: consider all the implications of resurrecting a - * FAIL node. */ + * The FAIL condition is also reversible under specific + * conditions detected by clearNodeFailureIfNeeded(). */ if (node->flags & REDIS_NODE_PFAIL) { node->flags &= ~REDIS_NODE_PFAIL; } else if (node->flags & REDIS_NODE_FAIL) {