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

Function clusterManagerBumpEpoch

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

Source from the content-addressed store, hash-verified

3569}
3570
3571static int clusterManagerBumpEpoch(clusterManagerNode *node) {
3572 redisReply *reply = CLUSTER_MANAGER_COMMAND(node, "CLUSTER BUMPEPOCH");
3573 int success = clusterManagerCheckRedisReply(node, reply, NULL);
3574 if (reply) freeReplyObject(reply);
3575 return success;
3576}
3577
3578/* Callback used by clusterManagerSetSlotOwner transaction. It should ignore
3579 * errors except for ADDSLOTS errors.

Callers 2

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected