bereng commented on code in PR #3241:
URL: https://github.com/apache/cassandra/pull/3241#discussion_r1565201983
##########
src/java/org/apache/cassandra/config/GuardrailsOptions.java:
##########
@@ -1080,8 +1164,8 @@ private static void validateWarnLowerThanFail(long warn,
long fail, String name)
return;
if (fail < warn)
- throw new IllegalArgumentException(format("The warn threshold %d
for %s_warn_threshold should be lower " +
- "than the fail threshold
%d", warn, name, fail));
+ throw new IllegalArgumentException(format("The warn threshold %d
for %s_warn_threshold should not be " +
Review Comment:
That should be ok. I doubt anybody is parsing these messages. Just
mentioning it to be on the safe side.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]