From 92b5db0d24b804bf6feaeafa51e76c5317984c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= Date: Fri, 12 Apr 2024 14:51:02 +0200 Subject: [PATCH] Use other magic numbers for the CLUSTER_MOVED_SLOT constants --- src/cluster_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index 0fae41a8665..e3587b6f3a8 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -308,8 +308,8 @@ typedef struct { } clusterMsgSendBlock; /* Special values for server.cluster->moved_slot_since_sleep */ -#define CLUSTER_MOVED_SLOT_NONE -1 -#define CLUSTER_MOVED_SLOT_MULTIPLE -2 +#define CLUSTER_MOVED_SLOT_NONE -2 +#define CLUSTER_MOVED_SLOT_MULTIPLE -3 /* ----------------------------------------------------------------------------- * Initialization