You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bo Cui (JIRA)" <ji...@apache.org> on 2019/07/03 01:43:00 UTC

[jira] [Resolved] (HBASE-22646) boundaries errors in the overlap after using hbck fix

     [ https://issues.apache.org/jira/browse/HBASE-22646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Cui resolved HBASE-22646.
----------------------------
    Resolution: Fixed

> boundaries errors in the overlap after using hbck fix
> -----------------------------------------------------
>
>                 Key: HBASE-22646
>                 URL: https://issues.apache.org/jira/browse/HBASE-22646
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 1.3.1, 2.1.0
>            Reporter: Bo Cui
>            Priority: Major
>         Attachments: fixcode.PNG, result1.PNG
>
>
> When I use hbck fix overlap, there is data in the region that doesn't belong to it.
> reproduction steps:
> 1、create t1 and set COMPACTION_ENABLED=false
>  2、put r001 r002 r003 r004
>  3、flush t1 and flush meta
>  4、 major_compact meta, and get new meta hfile1 
>  5、 split t1, r0022
>  6、 flush meta, and get new meta hfile2
>  7、 stop cluster,delet all WALs,, delete hfile2
>  8、 restart hbase
>  9、 split t1,r0022,and hdfs has 5 regions(1 parent, 2 old daughter, 2 new daughter), meta has 3 region(1 parent, 2 new daughter)
>  10、use hbck to repair until t1 is healthy
> the result: 514476289cd49db63ab7ef27e944185b has no data.
> !result1.PNG!
> solution:
> !fixcode.PNG!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)