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

Adding helm charts leaves tmp files behind in tmp dir of blobstore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.30.0
    • Fix Version/s: None
    • Component/s: Blobstore, helm
    • Labels:
    • Environment:
      official docker image

      Description

      We noticed that the blobstore directory of our helm chart repos is growing and growing. Deleting and compacting all helm charts did not really reduce the size. Investigation revealed that the ./tmp directory in the blob store directory of the helm chart blob is growing and growing. Files added there seem never be removed. Since we build a lot of helm charts every day, within a few weeks the directory grows to several gigabytes.

      How to reproduce?

      Start a fresh copy of Nexus 3.30.0 (e.g. from docker). Add a blob store and repository for self hosted helm charts. Add some random helm chart via the upload menu. 

      Expected result

      The  blobs/helm/content/tmp dir should not grow

      Actual result

      Every time a helm chart gets added, some files are created in the tmp directory and nevery cleaned up. Not when compacting the repo, deleting the helm chart or restarting Nexus.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              devopskanjer Enrico Welder
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title