Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30412

S3 GC must keep blobs added during GC

    XMLWordPrintable

    Details

    • Team:
      FG
    • Sprint:
      nxFG 11.3.1
    • Story Points:
      3

      Description

      The S3 GC must not delete blobs added while the GC is running.

      In order to do this efficiently, we invert the logic of the previous mark and sweep algorithm.

      Previously, we were creating a "marked" set of all blobs in the repository, then iterating over S3 and removing all blobs not "marked".

      The new algorithm creates a "toDelete" set of all blobs in S3 candidate for removal, then iterates over the repository to subtract from that set the blobs actually used. What remains in "toDelete" is the blobs we delete from S3.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: