Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7730 Ozone Snapshot Deletion & Garbage Collection
  3. HDDS-8064

[Snapshot] Clean up FSO deletedDirTable as well during snapshot creation

    XMLWordPrintableJSON

Details

    Description

      Similar to what is done to deletedTable in HDDS-7741, the directory entries in the scope can be removed from active DB as well right after the snapshot is taken. The algo will be slightly different because of the objectId indirections hence the new PR.

      Note: This should mean in SnapshotDeletingTask we need to do the same thing for deletedDirTable as for deletedTable, so that those FSO dirs are properly deleted when snapshot is deleted and reclaimed. cc aswinshakil ppogde

      Context in the design doc:
      https://fossil-i.notion.site/2a624480dc7c4bc3ad608cbf86a25541?pvs=4#f000c1bf54514f56ae76d97be43d0e9e

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: