MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / clusterManagerAddSlot

Function clusterManagerAddSlot

src/redis-cli.c:3162–3168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3160}
3161
3162static int clusterManagerAddSlot(clusterManagerNode *node, int slot) {
3163 redisReply *reply = CLUSTER_MANAGER_COMMAND(node,
3164 "CLUSTER ADDSLOTS %d", slot);
3165 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3166 if (reply) freeReplyObject(reply);
3167 return success;
3168}
3169
3170signed int clusterManagerCountKeysInSlot(clusterManagerNode *node,
3171 int slot)

Callers 1

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected