Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8544 Snapshot feature Phase 2 : Further enhancements for Ozone Snapshots
  3. HDDS-11411

Snapshot garbage collection should not run when the keys are moved from a deleted snapshot to the next snapshot in the chain

    XMLWordPrintableJSON

Details

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

    Description

      There is a race condition where entries in the rename tables could be inconsistent state when moving keys from a deleted snapshot to the next snapshot in chain. If the garbage collection runs on the next snapshot then this could lead to incorrect deletion. This would happen since data rename entries could be in an inconsistent state. Garbage Collection should wait for the snapshot purge to happen if the previous snapshot in chain is in deleted state.

      Attachments

        Issue Links

          Activity

            People

              swamirishi Swaminathan Balachandran
              swamirishi Swaminathan Balachandran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: