From a3faef3bc27a3e452db29cdde2ba60e84ff75a24 Mon Sep 17 00:00:00 2001 From: Binbin Date: Sat, 15 Feb 2025 08:11:26 +0800 Subject: [PATCH] Update src/cluster.c Signed-off-by: Binbin --- src/cluster.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 5cf0b6f14a..b935da18cb 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1341,7 +1341,6 @@ int isNodeAvailable(clusterNode *node) { /* Hide empty replicas in here, from a data-path POV, an empty replica * is not available. */ return getNodeReplicationOffset(node) != 0; - return 1; } void addNodeReplyForClusterSlot(client *c, clusterNode *node, int start_slot, int end_slot) {