From 45ccae89bb998b402610f35ea7ca961a92c46303 Mon Sep 17 00:00:00 2001 From: Harkrishn Patro Date: Wed, 16 Mar 2022 02:24:40 +0100 Subject: Add new cluster shards command (#10293) Implement a new cluster shards command, which provides a flexible and extensible API for topology discovery. Co-authored-by: Madelyn Olson --- src/cluster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cluster.h') diff --git a/src/cluster.h b/src/cluster.h index 314b747be..a944056eb 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -118,7 +118,7 @@ typedef struct clusterNode { int flags; /* CLUSTER_NODE_... */ uint64_t configEpoch; /* Last configEpoch observed for this node */ unsigned char slots[CLUSTER_SLOTS/8]; /* slots handled by this node */ - sds slots_info; /* Slots info represented by string. */ + list *slot_info_pairs; /* Slots info represented as (start/end) pair (consecutive index). */ int numslots; /* Number of slots handled by this node */ int numslaves; /* Number of slave nodes, if this is a master */ struct clusterNode **slaves; /* pointers to slave nodes */ -- cgit v1.2.1