From 19c4c647e03779da6c092dc795080c109089a327 Mon Sep 17 00:00:00 2001 From: bentotten <59932872+bentotten@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:33:44 -0700 Subject: [PATCH] Fix incorrect comment for count in clusterMsg (#381) The "count" field of clusterMsg is only used for gossip. Signed-off-by: Ben Totten Co-authored-by: Ben Totten --- src/cluster_legacy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster_legacy.h b/src/cluster_legacy.h index 791998e31a..95af5d4e24 100644 --- a/src/cluster_legacy.h +++ b/src/cluster_legacy.h @@ -211,7 +211,7 @@ typedef struct { uint16_t ver; /* Protocol version, currently set to CLUSTER_PROTO_VER. */ uint16_t port; /* Primary port number (TCP or TLS). */ uint16_t type; /* Message type */ - uint16_t count; /* Only used for some kind of messages. */ + uint16_t count; /* Number of gossip sections. */ uint64_t currentEpoch; /* The epoch accordingly to the sending node. */ uint64_t configEpoch; /* The config epoch if it's a master, or the last epoch advertised by its master if it is a