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:
Peter Somogyi 2020-10-28 18:08:05 +01:00
parent 970aaf38bd
commit b155c62f38
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}