From 47815d38e0f39476494c5da8dcd90c9ba24aefd8 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 17 Dec 2013 09:45:42 +0100 Subject: [PATCH] Fixed clearNodeFailureIfNeeded() time type to mstime_t. This prevented 32bit cluster instances from clearing the FAIL flag when needed. --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 7ae34ebe..55863ad8 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -748,7 +748,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) { * to reach it again. It checks if there are the conditions to undo the FAIL * state. */ void clearNodeFailureIfNeeded(clusterNode *node) { - time_t now = mstime(); + mstime_t now = mstime(); redisAssert(node->flags & REDIS_NODE_FAIL);