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

Clients can see holes in the META table when regions are being split

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.1, 0.94.1, 0.95.2
    • 0.94.1, 0.95.0
    • None
    • None
    • Reviewed

    Description

      We found this issue when running large scale ingestion tests for HBASE-5754. The problem is that the .META. table updates are not atomic while splitting a region. In SplitTransaction, there is a time lap between the marking the parent offline, and adding of daughters to the META table. This can result in clients using MetaScanner, of HTable.getStartEndKeys (used by the TableInputFormat) missing regions which are made just offline, but the daughters are not added yet.

      This is also related to HBASE-4335.

      Attachments

        1. 5986-v2.txt
          37 kB
          Ted Yu
        2. HBASE-5986_v3.patch
          39 kB
          Ted Yu
        3. HBASE-5986-0.92.patch
          38 kB
          Enis Soztutar
        4. HBASE-5986-0.94.patch
          37 kB
          Enis Soztutar
        5. HBASE-5986-test_v1.patch
          11 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              enis Enis Soztutar
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: