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

Function clusterManagerPrintNotEmptyNodeError

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

Source from the content-addressed store, hash-verified

5573}
5574
5575static void clusterManagerPrintNotEmptyNodeError(clusterManagerNode *node,
5576 char *err)
5577{
5578 char *msg;
5579 if (err) msg = err;
5580 else {
5581 msg = "is not empty. Either the node already knows other "
5582 "nodes (check with CLUSTER NODES) or contains some "
5583 "key in database 0.";
5584 }
5585 clusterManagerLogErr("[ERR] Node %s:%d %s\n", node->ip, node->port, msg);
5586}
5587
5588static void clusterManagerPrintNotClusterNodeError(clusterManagerNode *node,
5589 char *err)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected