DomGarguilo opened a new pull request, #4893:
URL: https://github.com/apache/accumulo/pull/4893

   Fixes #4865 
   
   So far I have implemented the change suggested in #4865.
   
   Some things I've noticed while working on this:
   1. It seems like this could be a good use for the 
[CountDownTimer](https://github.com/apache/accumulo/blob/main/core/src/main/java/org/apache/accumulo/core/util/CountDownTimer.java)
 util object since we could just create the object with `retryTimeout` and use 
`timeLeft()` to get the remaining time. This would simplify this code and make 
things more intuitive. The only issue is CountDownTimer only exists in 3.1 and 
above. If others agree, I could backport it into 2.1 and use it here.
   2. Is it possible for the `timeoutLeft` value to be negative here? If so, 
what are the implications of that. 


-- 
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]

Reply via email to