chaijunjie created HBASE-29991:
----------------------------------
Summary: offlineReferenceFileRepair need execute 2 times to
sideline all reference file
Key: HBASE-29991
URL: https://issues.apache.org/jira/browse/HBASE-29991
Project: HBase
Issue Type: Bug
Components: hbck2
Affects Versions: 1.3.0-SNAPSHOT
Reporter: chaijunjie
When I execute "hbase hbck -j hbck-xxx.jar filesystem table fix" command, find
need execute 2 times to sideline all reference file....
The scenario is:
The parent region file corrupted, and removed it.
But both two the daughter regions have a reference file, but the two file name
is same!
So offlineReferenceFileRepair() could only sideline one.
This is beacuse we use the filename as key, it should be
region_name+family_name+file_name, let me try to fix it.
See here:
https://github.com/apache/hbase-operator-tools/blob/b22878f6e2b0d09e0c28180636313f0064293e83/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java#L1324
--
This message was sent by Atlassian Jira
(v8.20.10#820010)