HBase
  1. HBase
  2. HBASE-5986

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.1, 0.94.1, 0.95.2
    • Fix Version/s: 0.94.1, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Enis Soztutar
              Reporter:
              Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development