HBASE-22278 RawAsyncHBaseAdmin should not use cached region location
This commit is contained in:
parent
393c5b9502
commit
3a1dc8ec82
|
@ -1346,7 +1346,7 @@ class RawAsyncHBaseAdmin implements AsyncAdmin {
|
|||
if (splitPoint == null) {
|
||||
return failedFuture(new IllegalArgumentException("splitPoint can not be null."));
|
||||
}
|
||||
addListener(connection.getRegionLocator(tableName).getRegionLocation(splitPoint),
|
||||
addListener(connection.getRegionLocator(tableName).getRegionLocation(splitPoint, true),
|
||||
(loc, err) -> {
|
||||
if (err != null) {
|
||||
result.completeExceptionally(err);
|
||||
|
|
Loading…
Reference in New Issue