MCPcopy Create free account
hub / github.com/F-Stack/f-stack / clusterManagerAddSlot

Function clusterManagerAddSlot

app/redis-6.2.6/src/redis-cli.c:3551–3557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3549}
3550
3551static int clusterManagerAddSlot(clusterManagerNode *node, int slot) {
3552 redisReply *reply = CLUSTER_MANAGER_COMMAND(node,
3553 "CLUSTER ADDSLOTS %d", slot);
3554 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3555 if (reply) freeReplyObject(reply);
3556 return success;
3557}
3558
3559static signed int clusterManagerCountKeysInSlot(clusterManagerNode *node,
3560 int slot)

Callers 1

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected