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

Function clusterManagerOnError

src/redis-cli.c:4035–4040  ·  view source on GitHub ↗

Add the error string to cluster_manager.errors and print it. */

Source from the content-addressed store, hash-verified

4033
4034/* Add the error string to cluster_manager.errors and print it. */
4035void clusterManagerOnError(sds err) {
4036 if (cluster_manager.errors == NULL)
4037 cluster_manager.errors = listCreate();
4038 listAddNodeTail(cluster_manager.errors, err);
4039 clusterManagerLogErr("%s\n", (char *) err);
4040}
4041
4042/* Check the slots coverage of the cluster. The 'all_slots' argument must be
4043 * and array of 16384 bytes. Every covered slot will be set to 1 in the

Callers 1

Calls 2

listCreateFunction · 0.85
listAddNodeTailFunction · 0.85

Tested by

no test coverage detected