HBASE-22278 RawAsyncHBaseAdmin should not use cached region location
This commit is contained in:
parent
56186870c0
commit
8207886d07
|
@ -1289,7 +1289,7 @@ class RawAsyncHBaseAdmin implements AsyncAdmin {
|
||||||
if (splitPoint == null) {
|
if (splitPoint == null) {
|
||||||
return failedFuture(new IllegalArgumentException("splitPoint can not be 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) -> {
|
(loc, err) -> {
|
||||||
if (err != null) {
|
if (err != null) {
|
||||||
result.completeExceptionally(err);
|
result.completeExceptionally(err);
|
||||||
|
|
Loading…
Reference in New Issue