From f481dd58bbea0935d598c8ead071f2e00b65cc33 Mon Sep 17 00:00:00 2001 From: hwware Date: Thu, 16 Jan 2025 21:35:36 +0000 Subject: [PATCH] add one variable initilzation --- src/cluster_legacy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index 5e976d3060c..a0c4c0f4e42 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -1134,6 +1134,7 @@ void clusterInit(void) { server.cluster->failover_auth_epoch = 0; server.cluster->cant_failover_reason = CLUSTER_CANT_FAILOVER_NONE; server.cluster->lastVoteEpoch = 0; + server.cluster->failover_auth_sent = 0; /* Initialize stats */ for (int i = 0; i < CLUSTERMSG_TYPE_COUNT; i++) {