HBASE-18796 Addendum: Scanner returning null incorrectly during locateRegionInMeta retry, resulting in incorrect TableNotFoundException
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
11d749527a
commit
21a61ad597
|
@ -805,7 +805,7 @@ class ConnectionImplementation implements ClusterConnection, Closeable {
|
|||
s.setReversed(true);
|
||||
s.withStartRow(metaKey);
|
||||
s.addFamily(HConstants.CATALOG_FAMILY);
|
||||
s.setOneRowLimit();
|
||||
|
||||
if (this.useMetaReplicas) {
|
||||
s.setConsistency(Consistency.TIMELINE);
|
||||
}
|
||||
|
@ -835,6 +835,7 @@ class ConnectionImplementation implements ClusterConnection, Closeable {
|
|||
try {
|
||||
Result regionInfoRow = null;
|
||||
s.resetMvccReadPoint();
|
||||
s.setOneRowLimit();
|
||||
try (ReversedClientScanner rcs =
|
||||
new ReversedClientScanner(conf, s, TableName.META_TABLE_NAME, this, rpcCallerFactory,
|
||||
rpcControllerFactory, getMetaLookupPool(), metaReplicaCallTimeoutScanInMicroSecond)) {
|
||||
|
|
Loading…
Reference in New Issue