Skip to content

Commit

Permalink
HBASE-25224 Maximize sleep for checking meta and namespace regions av…
Browse files Browse the repository at this point in the history
…ailability (apache#2593)

Signed-off-by: Michael Stack <[email protected]>
  • Loading branch information
petersomogyi committed Oct 28, 2020
1 parent 475af67 commit ffd8794
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ private boolean isRegionOnline(RegionInfo ri) throws InterruptedException {
ri.getRegionNameAsString(), rs, optProc.isPresent());
// Check once-a-minute.
if (rc == null) {
rc = new RetryCounterFactory(1000).create();
rc = new RetryCounterFactory(Integer.MAX_VALUE, 1000, 60_000).create();
}
Threads.sleep(rc.getBackoffTimeAndIncrementAttempts());
}
Expand Down

0 comments on commit ffd8794

Please sign in to comment.