Skip to content

Commit

Permalink
Update src/cluster_legacy.c
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Söderqvist <[email protected]>
Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin and zuiderkwast authored Dec 1, 2024
1 parent 104cf2a commit 22f66a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -5372,7 +5372,9 @@ void clusterLogFailReason(int reason) {
msg = "At least one hash slot is not served by any available node. "
"Please check the 'cluster-require-full-coverage' configuration.";
break;
case CLUSTER_FAIL_MINORITY_PARTITION: msg = "I am part of a minority partition."; break;
case CLUSTER_FAIL_MINORITY_PARTITION:
msg = "I am part of a minority partition.";
break;
default: serverPanic("Unknown fail reason code.");
}
serverLog(LL_WARNING, "Cluster is currently down: %s", msg);
Expand Down

0 comments on commit 22f66a5

Please sign in to comment.