Delete redundant declaration clusterNodeCoversSlot and countKeysInSlot (#930)

Delete redundant declaration, clusterNodeCoversSlot and countKeysInSlot
has been declared in cluster.h

Signed-off-by: Yunxiao Du <me@jackdu.cn>
This commit is contained in:
Yunxiao Du 2024-08-23 12:17:27 +08:00 committed by GitHub
parent b12668af7a
commit 0a11c4a140
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,6 @@ void clusterSendPing(clusterLink *link, int type);
void clusterSendFail(char *nodename);
void clusterSendFailoverAuthIfNeeded(clusterNode *node, clusterMsg *request);
void clusterUpdateState(void);
int clusterNodeCoversSlot(clusterNode *n, int slot);
list *clusterGetNodesInMyShard(clusterNode *node);
int clusterNodeAddReplica(clusterNode *primary, clusterNode *replica);
int clusterAddSlot(clusterNode *n, int slot);
@ -93,7 +92,6 @@ void moduleCallClusterReceivers(const char *sender_id,
uint32_t len);
const char *clusterGetMessageTypeString(int type);
void removeChannelsInSlot(unsigned int slot);
unsigned int countKeysInSlot(unsigned int hashslot);
unsigned int countChannelsInSlot(unsigned int hashslot);
unsigned int delKeysInSlot(unsigned int hashslot);
void clusterAddNodeToShard(const char *shard_id, clusterNode *node);