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

HBase Backup Phase 2: Potential data loss and or data duplication in incremental backup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Suppose we have two tables T1 and T2

      1. Create full backup T1 with backup id = B1
      2. Create full backup T2 backupId = B2
      3. New data arrived into file WAL1
      4. Create incremental backup of T1 with backupId = B3
      5. Create incremental backup of T2 with backupid = B4

      The directory structure for backup site after this steps

      BACKUP_ROOT/WALs/B3
      BACKUP_ROOT/WALs/B4
      BACKUP_ROOT/T1/B1
      BACKUP_ROOT/T2/B2

      File WAL1 may end up either in BACKUP_ROOT/WALs/B3 or in both:
      BACKUP_ROOT/WALs/B3 and BACKUP_ROOT/WALs/B4 location. Both are bad: in first case we lose data for backup B4 in second case we have duplicate copies of WAL1

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: