HBASE-26687 Avoid the newBuilder(RegionInfo) constructor in RegionInf… (#103)
authorJosh Elser <elserj@apache.org>
Thu, 20 Jan 2022 00:55:07 +0000 (19:55 -0500)
committerGitHub <noreply@github.com>
Thu, 20 Jan 2022 00:55:07 +0000 (19:55 -0500)
commitb7d9fc8a5f96517f2c6ebe733afa52155d7e3cba
tree851dee2ac9eae853a59ae8afc3458c9068b3cf32
parente3a8f96d0b9e9b985d7f6f2952aaa929047c5b08
HBASE-26687 Avoid the newBuilder(RegionInfo) constructor in RegionInf… (#103)

A previously-fixed bug in HBase might break this tool in that the new
RegionInfo built by the Tool is still incorrect because the region name
and region encoded name are not recomputed. Thankfully, the sanity check
on the tool prevented any damage from being done to hbase:meta.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
hbase-hbck2/src/main/java/org/apache/hbase/RegionInfoMismatchTool.java