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

Function clusterManagerNodeResetSlots

src/redis-cli.c:2627–2630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2625}
2626
2627static void clusterManagerNodeResetSlots(clusterManagerNode *node) {
2628 memset(node->slots, 0, sizeof(node->slots));
2629 node->slots_count = 0;
2630}
2631
2632/* Call "INFO" redis command on the specified node and return the reply. */
2633static redisReply *clusterManagerGetNodeRedisInfo(clusterManagerNode *node,

Callers 2

clusterManagerNewNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected