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

possible loss of data in snapshot taken after region split

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.8, 0.95.1
    • Fix Version/s: 0.98.0, 0.94.12, 0.96.0
    • Component/s: snapshots
    • Labels:
      None

      Description

      Right after a region split but before the daughter regions are compacted, we have two daughter regions containing Reference files to the parent hfiles.

      If we take snapshot right at the moment, the snapshot will succeed, but it will only contain the daughter Reference files. Since there is no hold on the parent hfiles, they will be deleted by the HFile Cleaner after they are no longer needed by the daughter regions soon after.

      A minimum we need to do is the keep these parent hfiles from being deleted.

        Attachments

        1. HBase-8760-0.94.8.patch
          2 kB
          Jerry He
        2. HBase-8760-0.94.8-v1.patch
          2 kB
          Jerry He
        3. HBASE-8760-thz-v0.patch
          3 kB
          Matteo Bertozzi
        4. HBASE-8760-0.94-v4.patch
          22 kB
          Matteo Bertozzi
        5. HBASE-8760-v4.patch
          26 kB
          Matteo Bertozzi
        6. v4-patch-testing-0.94.zip
          181 kB
          Jerry He
        7. v4-patch-testing-0.95.2.zip
          169 kB
          Jerry He
        8. HBASE-8760-0.94-v5.patch
          30 kB
          Matteo Bertozzi
        9. HBASE-8760-0.94-v6.patch
          31 kB
          Matteo Bertozzi
        10. HBASE-8760-0.94-v7.patch
          33 kB
          Matteo Bertozzi
        11. HBASE-8760-0.94-v8.patch
          34 kB
          Matteo Bertozzi
        12. HBASE-8760-trunk-v8.patch
          37 kB
          Matteo Bertozzi
        13. HBASE-8760-0.94-v8-addendum.patch
          2 kB
          Jerry He
        14. HBASE-8760-trunk-v9.patch
          37 kB
          Matteo Bertozzi
        15. HBASE-8760-0.94-v9.patch
          36 kB
          Matteo Bertozzi
        16. HBASE-8760-0.94-v10.patch
          38 kB
          Matteo Bertozzi
        17. HBASE-8760-trunk-v10.patch
          38 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

              • Assignee:
                mbertozzi Matteo Bertozzi
                Reporter:
                jinghe Jerry He
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: