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 committed by GitHub
parent 735689d0f7
commit bb4a9d335f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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