Details
Description
We should retry LeaseException just like other exceptions like OutOfOrderScannerNextException and UnknownScannerException
Code in ClientScanner:
if ((cause != null && cause instanceof NotServingRegionException) || (cause != null && cause instanceof RegionServerStoppedException) || e instanceof OutOfOrderScannerNextException || e instanceof UnknownScannerException || e instanceof ScannerResetException) { // Pass. It is easier writing the if loop test as list of what is allowed rather than // as a list of what is not allowed... so if in here, it means we do not throw. if (retriesLeft <= 0) { throw e; // no more retries }
Attachments
Issue Links
- blocks
-
HBASE-22017 Master Fails to become active due to the data race bug in region server
- Resolved
- links to