summaryrefslogtreecommitdiff
path: root/src/cluster.h
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-02-20 13:11:20 +0800
committerGitHub <noreply@github.com>2022-02-19 21:11:20 -0800
commitc0ea77f0e19441f54e7303641b9387d281c2c3db (patch)
tree6cc2c4a69ba85e1b769e828f7ad63200635dc4b8 /src/cluster.h
parent56fa48ffc136b7540f8144562d8aa2a13b8a3fa7 (diff)
downloadredis-c0ea77f0e19441f54e7303641b9387d281c2c3db.tar.gz
Show publishshard_sent stat in cluster info (#10314)
publishshard was added in #8621 (7.0 RC1), but the publishshard_sent stat is not shown in CLUSTER INFO command. Other changes: 1. Remove useless `needhelp` statements, it was removed in 3dad819. 2. Use `LL_WARNING` log level for some error logs (I/O error, Connection failed). 3. Fix typos that saw by the way.
Diffstat (limited to 'src/cluster.h')
-rw-r--r--src/cluster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cluster.h b/src/cluster.h
index 7e0d7c25a..314b747be 100644
--- a/src/cluster.h
+++ b/src/cluster.h
@@ -96,8 +96,8 @@ typedef struct clusterLink {
#define CLUSTERMSG_TYPE_UPDATE 7 /* Another node slots configuration */
#define CLUSTERMSG_TYPE_MFSTART 8 /* Pause clients for manual failover */
#define CLUSTERMSG_TYPE_MODULE 9 /* Module cluster API message. */
-#define CLUSTERMSG_TYPE_COUNT 10 /* Total number of message types. */
-#define CLUSTERMSG_TYPE_PUBLISHSHARD 11 /* Pub/Sub Publish shard propagation */
+#define CLUSTERMSG_TYPE_PUBLISHSHARD 10 /* Pub/Sub Publish shard propagation */
+#define CLUSTERMSG_TYPE_COUNT 11 /* Total number of message types. */
/* Flags that a module can set in order to prevent certain Redis Cluster
* features to be enabled. Useful when implementing a different distributed