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

BackupLogCleaner cleans required WALs when using multiple backuproots

    XMLWordPrintableJSON

Details

    Description

      The BackupLogCleaner is responsible for avoiding the deletion of WAL/logs that still need to be included in a future backup.

      The logic to decide which files can be deleted does not work correctly when multiple backup roots are used. Each backup root has a different chain of backups (full, incremental1, incremental2, ...). So, if any chain requires a log, it should be preserved. This is not the case.

      The result is that logs could be incorrectly deleted, resulting in data loss in backups.

      PR incoming with test & fix.

      Attachments

        Activity

          People

            dieterdp_ng Dieter De Paepe
            dieterdp_ng Dieter De Paepe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: