Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-12389

if the component database references a soft-deleted blob then prevent blob store compaction task from hard deleting the blob

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.5.0
    • Component/s: Blobstore
    • Labels:
      None
    • Story Points:
      3
    • Release Note:
      Yes
    • Sprint:
      Core - Sprint 98, Core - Sprint 99

      Description

      Background
      An unwise sequence of backup and restore actions can produce a database that refers to missing blobs. (Example, drop a repository, restore the component database to an earlier state, start the system.)

      Acceptance

      • Blob store compaction does not delete blobs that are still referenced by component metadata.
      • Mass deletions/compactions (e.g. dropping a repo) should still be performant.
      • Make an entry in the long-running task log to record:
        • Every blob deletion that happens in compact
        • Every blob we choose NOT to delete due to a reference from component metadata

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cpeters Collin Peters
              Reporter:
              mprescott Michael Prescott
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title