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

Function clusterManagerStartTransaction

src/redis-cli.c:2488–2493  ·  view source on GitHub ↗

Call MULTI command on a cluster node. */

Source from the content-addressed store, hash-verified

2486
2487/* Call MULTI command on a cluster node. */
2488static int clusterManagerStartTransaction(clusterManagerNode *node) {
2489 redisReply *reply = CLUSTER_MANAGER_COMMAND(node, "MULTI");
2490 int success = clusterManagerCheckRedisReply(node, reply, NULL);
2491 if (reply) freeReplyObject(reply);
2492 return success;
2493}
2494
2495/* Call EXEC command on a cluster node. */
2496static int clusterManagerExecTransaction(clusterManagerNode *node,

Callers 1

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected