HBASE-25224 Maximize sleep for checking meta and namespace regions availability (#2593)
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
735689d0f7
commit
bb4a9d335f
|
@ -1253,7 +1253,7 @@ public class HMaster extends HRegionServer implements MasterServices {
|
|||
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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue