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

Function clusterManagerPrintNotEmptyNodeError

src/redis-cli.c:4662–4673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4660}
4661
4662static void clusterManagerPrintNotEmptyNodeError(clusterManagerNode *node,
4663 char *err)
4664{
4665 char *msg;
4666 if (err) msg = err;
4667 else {
4668 msg = "is not empty. Either the node already knows other "
4669 "nodes (check with CLUSTER NODES) or contains some "
4670 "key in database 0.";
4671 }
4672 clusterManagerLogErr("[ERR] Node %s:%d %s\n", node->ip, node->port, msg);
4673}
4674
4675static void clusterManagerPrintNotClusterNodeError(clusterManagerNode *node,
4676 char *err)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected