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

Clean blob store's 'tmp' directory at startup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Blobstore
    • Labels:
    • Notability:
      4

      Description

      When a file is uploaded to Nexus Repo it is first written into a temporary file in the blob store's "tmp" directory. Once it is completely written and closed it is then renamed to its final destination. This ensures there can never be any partially written content in blob storage.

      In some rare cases these temporary files can get stuck. For instance, if Nexus Repo crashes.

      It would be a good idea to clean out blob store "tmp" directories at startup to reclaim space that is taken up by those 'lost' files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  tigCommentSecurity.panel-title