From f9bd8ffdb6121279a750bcb318b568b8b2be0192 Mon Sep 17 00:00:00 2001 From: Roshan Khatri Date: Mon, 22 Jul 2024 17:46:46 +0000 Subject: [PATCH] Add comments for define Signed-off-by: Roshan Khatri --- src/cluster_legacy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster_legacy.h b/src/cluster_legacy.h index c28339e2e4..1121091003 100644 --- a/src/cluster_legacy.h +++ b/src/cluster_legacy.h @@ -94,9 +94,9 @@ typedef struct clusterNodeFailReport { #define CLUSTERMSG_TYPE_PUBLISHSHARD 10 /* Pub/Sub Publish shard propagation */ #define CLUSTERMSG_TYPE_COUNT 11 /* Total number of message types. */ -#define CLUSTERMSG_LIGHT 0x8000 +#define CLUSTERMSG_LIGHT 0x8000 /* Modifier bit for message types that support light header */ -/* For the message with light header, we will set the MSB.*/ +/* We check for the modifier bit to determine if the message is sent using light header.*/ #define IS_LIGHT_MESSAGE(type) ((type) & CLUSTERMSG_LIGHT) /* Initially we don't know our "name", but we'll find it once we connect