From 1d8f302e0d7f6b09ed365197cef7d9ec7d7000a1 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 15 Mar 2013 15:44:49 +0100 Subject: [PATCH] Cluster: election -> promotion in two comments. --- src/cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index e32052e8..4e167113 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -612,7 +612,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) { * state. * * Currently we only revert the FAIL state if there are no slaves for this - * node, so that no election was possible. */ + * node, so that no promotion was possible. */ void clearNodeFailureIfNeeded(clusterNode *node) { int changes = 0; time_t now = time(NULL); @@ -1390,7 +1390,7 @@ void clusterHandleSlaveFailover(void) { if (server.cluster->failover_auth_count >= needed_quorum) { redisLog(REDIS_WARNING, "Masters quorum reached: failing over my (failing) master."); - /* TODO: Perform election. */ + /* TODO: Perform promotion. */ /* TODO: Broadcast update to cluster. */ } }