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

Function clusterManagerOnError

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

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

Source from the content-addressed store, hash-verified

4555
4556/* Add the error string to cluster_manager.errors and print it. */
4557static void clusterManagerOnError(sds err) {
4558 if (cluster_manager.errors == NULL)
4559 cluster_manager.errors = listCreate();
4560 listAddNodeTail(cluster_manager.errors, err);
4561 clusterManagerLogErr("%s\n", (char *) err);
4562}
4563
4564/* Check the slots coverage of the cluster. The 'all_slots' argument must be
4565 * 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