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

Function clusterManagerClearSlotStatus

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

Source from the content-addressed store, hash-verified

3512}
3513
3514static int clusterManagerClearSlotStatus(clusterManagerNode *node, int slot) {
3515 redisReply *reply = CLUSTER_MANAGER_COMMAND(node,
3516 "CLUSTER SETSLOT %d %s", slot, "STABLE");
3517 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3518 if (reply) freeReplyObject(reply);
3519 return success;
3520}
3521
3522static int clusterManagerDelSlot(clusterManagerNode *node, int slot,
3523 int ignore_unassigned_err)

Callers 3

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected