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

HBase Backup/Restore Phase 3: Filter WALs on backup to include only edits from backed up tables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      High level design overview

      • When incremental backup request comes for tables {t} we select all the tables already registered in a backup system - {T} and union them with {t}

        , which results in a new table set - U(t, T)

      • For every table K from U(t,T) we perform the following:
        • Convert new WAL files into HFile applying table filter K (only edits for table T will pass the filter)
        • Move these HFile(s) to backup destination

      During restore (incremental):

      • We run full restore first
      • Then collect all HFiles from intermediate incremental images and run them through HFileSplitterJob, which splits files into a current tables region boundaries
      • Load these files using LoadIncrementalHFiles tool

      Attachments

        1. HBASE-14141.v6.patch
          47 kB
          Vladimir Rodionov
        2. HBASE-14141.v5.patch
          46 kB
          Vladimir Rodionov
        3. HBASE-14141.v4.patch
          45 kB
          Vladimir Rodionov
        4. HBASE-14141.v2.patch
          40 kB
          Vladimir Rodionov
        5. HBASE-14141.v1.patch
          16 kB
          Vladimir Rodionov
        6. HBASE-14141.HBASE-14123.v1.patch
          22 kB
          Vladimir Rodionov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: