Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
RetryCounter utility which is used at multiple places like MetaRegionLocationCache, RecoverableZookeeper etc provides a method to sleep for a back off time as supplied by the backoff policy. However, sleep used by sleepUntilNextRetry() makes thread sleep and throws InterruptedException which clients have to deal with. Clients using sleep for any backoff policy should not worry about handling InterruptedException. Dealing with InterruptedException is something for sleepUntilNextRetry() to take care of.
Attachments
Issue Links
- links to