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

Potential data loss when MOB compaction fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 2.1.0, 2.0.0, 2.0.1, 2.1.1, 2.0.2, 2.0.3, 2.1.2, 2.0.4, 2.1.3
    • None
    • mob
    • Addressed by reimplementing compaction in HBASE-22749

    Description

      When MOB compaction fails during last step (bulk load of a newly created reference file) there is a high chance of a data loss due to partially loaded reference file, cells of which refer to (now) non-existent MOB file. The newly created MOB file is deleted automatically in case of a MOB compaction failure, but some cells with the references to this file might be loaded to HBase.

      Attachments

        1. ReproMOBDataLoss.java
          6 kB
          Karthik Palanisamy
        2. HBASE-22075-v2.patch
          2 kB
          Vladimir Rodionov
        3. HBASE-22075-v1.patch
          3 kB
          Vladimir Rodionov
        4. HBASE-22075.test-only.2.patch
          9 kB
          Sean Busbey
        5. HBASE-22075.test-only.1.patch
          9 kB
          Sean Busbey
        6. HBASE-22075.test-only.0.patch
          9 kB
          Sean Busbey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vrodionov Vladimir Rodionov
              Votes:
              0 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: