Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22646

boundaries errors in the overlap after using hbck fix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1, 2.1.0
    • None
    • hbck
    • None

    Description

      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.

      solution:

      Attachments

        1. result1.PNG
          17 kB
          Bo Cui
        2. fixcode.PNG
          40 kB
          Bo Cui

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Bo Cui Bo Cui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: