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

cannot delete a blobstore if repository healthcheck was enabled on a repo that used it

    Details

    • Notability:
      3

      Description

      1. Create a new file blobstore
      2. create a new repo using the new blobstore and enable repo healthcheck ( click Analyze )
      3. Wait for the new System - Repository Health Check to run at least once, or manually run it
      4. Delete the repo
      5. Delete the blobstore

      Outcome

      The blobstore is not fully deleted - the nexus.log contains a message like this:

      2022-01-12 09:32:54,457-0400 WARN [qtp1997583413-128] admin org.sonatype.nexus.blobstore.file.FileBlobStore - Unable to delete non-empty blob store content directory /sonatype-work/nexus3/blobs/to-delete/content

      The only "content" remaining in the blobstore is under ./content/directpath/health-check/

      Expected

      Deleting a blobstore should not be prevented by files which are no longer in use ( remember repo was deleted! ).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Michael Martz Michael Martz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title