Mohammad Arshad created HBASE-24995:
---------------------------------------
Summary: MetaFixer fails to fix overlaps when multiple tables have
overlaps
Key: HBASE-24995
URL: https://issues.apache.org/jira/browse/HBASE-24995
Project: HBase
Issue Type: Bug
Components: hbck2
Affects Versions: 2.2.3, 3.0.0-alpha-1
Reporter: Mohammad Arshad
Assignee: Mohammad Arshad
MetaFixer fails to fix overlaps when multiple tables have overlaps
*Steps to reproduce from UT.*
# Create table t1 and t2 with split keys, ["bbb", "ccc", "ddd", "eee"]
# Create extra region in both t1 and t2 with start key "bbb" and end key "ddd"
# Run catalog janitor, It will report total 4 overlaps, 2 from each table.
# Run MetaFixer, wait for merges to finish.
# Run the catalog janitor again and verify report, there should not be any
overlap
# Overlap still exists. Reproduced!!!
*Analysis.*
* When I run the same scenario for just one table t1, overlaps are fixed
successfully.
* Seems problem with MetaFixer#calculateMerges.
* I think merges should be calculated within a table. Across the table merge
does not have significance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)