Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.2.3
-
None
-
Reviewed
Description
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.
Attachments
Issue Links
- links to