Add the error string to cluster_manager.errors and print it. */
| 4555 | |
| 4556 | /* Add the error string to cluster_manager.errors and print it. */ |
| 4557 | static 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 |
no test coverage detected