Skip to content

Commit

Permalink
Fix incorrect comment for count in clusterMsg (#381)
Browse files Browse the repository at this point in the history
The "count" field of clusterMsg is only used for gossip.

Signed-off-by: Ben Totten <btotten@amazon.com>
Co-authored-by: Ben Totten <btotten@amazon.com>
  • Loading branch information
bentotten and Ben Totten committed Apr 25, 2024
1 parent 2e926b2 commit 19c4c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19c4c64

Please sign in to comment.