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

Rewrite backup with Procedure V2 - phase 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      Currently full / incremental backup is driven by BackupHandler (see call() method for flow).

      This issue is to rewrite the flow using Procedure V2.

      States (enum) for full / incremental backup would be introduced in Backup.proto which correspond to the steps performed in BackupHandler#call().
      executeFromState() would pace the backup based on the current state.
      serializeStateData() / deserializeStateData() would be used to persist state into procedure WAL.

      Attachments

        1. FullTableBackupProcedure.java
          24 kB
          Ted Yu
        2. 15411-v1.txt
          97 kB
          Ted Yu
        3. 15411-v3.txt
          193 kB
          Ted Yu
        4. 15411-v5.txt
          196 kB
          Ted Yu
        5. 15411-v6.txt
          199 kB
          Ted Yu
        6. 15411-v7.txt
          235 kB
          Ted Yu
        7. 15411-v9.txt
          460 kB
          Ted Yu
        8. 15411-v11.txt
          475 kB
          Ted Yu
        9. 15411-v12.txt
          475 kB
          Ted Yu
        10. 15411-v13.txt
          482 kB
          Ted Yu
        11. 15411-v14.txt
          486 kB
          Ted Yu
        12. 15411-v15.txt
          486 kB
          Ted Yu
        13. 15411-v16.txt
          486 kB
          Ted Yu
        14. 15411-v18.txt
          531 kB
          Ted Yu
        15. 15411-v22.txt
          589 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: