Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In AsyncRegionLocatorHelper.mergeRegionLocations we create a new RegionLocations and call mergeRegionLocations on it, expected that it will be changed by this method, but actually the method will not modify the object itself, it will return a new one...
And we are lucky that we create the RegionLocations with the new locations, so usually we will get update result. But when testing HBASE-21717, we meet another bug in AsyncNonMetaRegionLocator.isEqual, where we missed a '!' when checking server name equals...