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

Compact blobstore task does not fully remove all soft deleted blobs

    Details

    • Notability:
      3

      Description

      Due to deletion index file having a Nexus node id in the file name, this could lead to Compact blobstore task not deleting all soft deleted blobs.

      Using Nexus in a HA-C (also affects other Resiliency models) the blobstore ends up with multiple deletion files with different node ids.

      /nexus_blobstore/blobs/blobstore_docker/76CBB2A9-38E9BDDF-9F44C4BF-3567ED8C-AD3167AE-deletions.index
      
      /nexus_blobstore/blobs/blobstore_docker/27910D35-68CB6CAC-EA4A9A05-2B6ACFBF-29436684-deletions.index
      
      /nexus_blobstore/blobs/blobstore_docker/89A12B29-99F5DEC5-96169981-1999838B-98D8B764-deletions.index
      

       
      When running compact blobstore on blobstore blobstore_docker, only deletion index for that node the task runs will be picked up, therefore it is only a partial compact of blobstore.

      Expected behaviour:
      The compact blobstore should use all the deletion index files and complete a full compact of that blobstore. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              msurani Mahendra Surani
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  tigCommentSecurity.panel-title