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

Deletion of repositories does not clear space in the blobstore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: Blobstore, Repository
    • Labels:
      None

      Description

      Deleting on repositories does not clear space in the blobstore.

      My understanding is that there is a background task runs every 10 mins that will clear blobstore files. Tested hours after and still no change.

      Compact blobstore task is not required to be run for deleted repositories, but gave that a try and still no difference.

      1) Create a new blobstore

      2) Create a proxy on that blobstore

      3) Run a build to populate the proxy.

      4) Check the size of the blobstore in UI and disk

      find <blobstore> -type f -name "*.bytes" | wc -l

      du -sh <blobstore>

      5) Delete the proxy repo

      6) Wait at least 10 minutes and check size of blobstore

      find <blobstore> -type f -name "*.bytes" | wc -l

      du -sh <blobstore>

      You will notice there is no reduction in blostore size.

       

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title