Skip to content

Commit

Permalink
[apache/helix] -- Fixes #2638, Improve Hard Constraint Failure Debugg…
Browse files Browse the repository at this point in the history
…ability by adding details in the error message
  • Loading branch information
himanshukandwal committed Oct 18, 2023
1 parent cebbf75 commit 52d3b22
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ boolean isAssignmentValid(AssignableNode node, AssignableReplica replica,
}
return true;
}

@Override
String getDescription() {
return "A fault zone cannot contain more than 1 replica of same partition";
}
}

0 comments on commit 52d3b22

Please sign in to comment.