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

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.41.0
    • 3.30.0
    • Blobstore, helm
    • official docker image
    • 3
    • NXRM Immortals Sprint 35, NXRM Immortals Sprint 36
    • non-concept

    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

              aortiz Andres Ortiz
              devopskanjer Enrico Welder
              Rich Seddon Rich Seddon
              NXRM - Optimus
              Maksym Kalachov [X] Maksym Kalachov [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title