Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • Reviewed

    Description

      Backup delete modified file system and backup system table. We have to make sure that operation is atomic, durable and isolated.

      Delete operation:

      1. Start backup session (this guarantees) that system will be blocked for all backup commands during delete operation
      2. Save list of tables being deleted to system table
      3. Before delete operation we take backup system table snapshot
      4. During delete operation we detect any failures and restore backup system table from snapshot, then finish backup session
      5. To guarantee consistency of the data, delete operation MUST be repeated
      6. We guarantee that all file delete operations are idempotent, can be repeated multiple times
      7. Any backup operations will be blocked until consistency is restored
      8. To restore consistency, repair command must be executed.
      9. Repair command checks if there is failed delete op in a backup system table, and repeats delete operation

      Attachments

        1. HBASE-16392-v4.patch
          42 kB
          Vladimir Rodionov
        2. HBASE-16392-v3.patch
          39 kB
          Vladimir Rodionov
        3. HBASE-16392-v2.patch
          25 kB
          Vladimir Rodionov
        4. HBASE-16392-v1.patch
          24 kB
          Vladimir Rodionov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: