EdColeman commented on code in PR #3985:
URL: https://github.com/apache/accumulo/pull/3985#discussion_r1407820438
##########
core/src/main/java/org/apache/accumulo/core/util/Wait.java:
##########
@@ -51,6 +56,14 @@ public static int
getTimeoutFactor(ToIntFunction<NumberFormatException> onError)
}
+ public static void sleep(long millis) {
+ try {
+ Thread.sleep(millis);
+ } catch (InterruptedException e) {
+ log.error("{}", e.getMessage(), e);
Review Comment:
Probably, but it was not in the original code - and I don't think anyone is
actually checking the flag status anyway. It would be better if we did not use
this method and examined interrupt handling in general, but that is beyond the
scope of this PR.
--
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]