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

Function clusterManagerNodeResetSlots

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

Source from the content-addressed store, hash-verified

2914}
2915
2916static void clusterManagerNodeResetSlots(clusterManagerNode *node) {
2917 memset(node->slots, 0, sizeof(node->slots));
2918 node->slots_count = 0;
2919}
2920
2921/* Call "INFO" redis command on the specified node and return the reply. */
2922static redisReply *clusterManagerGetNodeRedisInfo(clusterManagerNode *node,

Callers 2

clusterManagerNewNodeFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected