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

Function clusterManagerBumpEpoch

src/redis-cli.c:3182–3187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3180}
3181
3182static int clusterManagerBumpEpoch(clusterManagerNode *node) {
3183 redisReply *reply = CLUSTER_MANAGER_COMMAND(node, "CLUSTER BUMPEPOCH");
3184 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3185 if (reply) freeReplyObject(reply);
3186 return success;
3187}
3188
3189/* Callback used by clusterManagerSetSlotOwner transaction. It should ignore
3190 * errors except for ADDSLOTS errors.

Callers 2

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected