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
970aaf38bd
commit
b155c62f38
|
@ -1228,7 +1228,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