]> git.saurik.com Git - redis.git/blobdiff - src/cluster.c
Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue...
[redis.git] / src / cluster.c
index 42b0111366f4b456f5d8d790534946972914064c..fadce42eacdb9a8adf082b2ecf8029801e63e762 100644 (file)
@@ -439,7 +439,7 @@ void clusterProcessGossipSection(clusterMsg *hdr, clusterLink *link) {
              * time PONG figure if it is newer than our figure.
              * Note that it's not a problem if we have a PING already 
              * in progress against this node. */
-            if (node->pong_received < ntohl(g->pong_received)) {
+            if (node->pong_received < (signed) ntohl(g->pong_received)) {
                  redisLog(REDIS_DEBUG,"Node pong_received updated by gossip");
                 node->pong_received = ntohl(g->pong_received);
             }