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

Function clusterManagerClearSlotStatus

src/redis-cli.c:3125–3131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3123}
3124
3125int clusterManagerClearSlotStatus(clusterManagerNode *node, int slot) {
3126 redisReply *reply = CLUSTER_MANAGER_COMMAND(node,
3127 "CLUSTER SETSLOT %d %s", slot, "STABLE");
3128 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3129 if (reply) freeReplyObject(reply);
3130 return success;
3131}
3132
3133static int clusterManagerDelSlot(clusterManagerNode *node, int slot,
3134 int ignore_unassigned_err)

Callers 3

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected