HBASE-22278 RawAsyncHBaseAdmin should not use cached region location

This commit is contained in:
zhangduo 2019-04-21 18:36:15 +08:00
parent 393c5b9502
commit 3a1dc8ec82
1 changed files with 1 additions and 1 deletions

View File

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