Add the error string to cluster_manager.errors and print it. */
| 4033 | |
| 4034 | /* Add the error string to cluster_manager.errors and print it. */ |
| 4035 | void 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 |
no test coverage detected