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

Snapshot remover leaves maven-metadata.xml files deleted for a long time, breaking builds.

    XMLWordPrintable

    Details

    • Notability:
      2

      Description

      The snapshot removal task deletes maven-metadata.xml files that need to be rebuilt as it traverses a repository.  It doesn't recreate these files until the entire repository has been traversed, and all snapshot versions have been processed.

      This can result in a period of many hours when no maven-metadata.xml file is available for the GAV's that have had their maven-metadtata.xml files deleted.  This breaks builds.

      Expected:  The snapshot remover should not leave metadata in an unusable state ever.   If a file needs to be rebuilt, it should be done at the time it is deleted. If there are inbound requests for that file while it is being rebuilt those requests should be blocked until the file is rewritten. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              KWright Kristofer Wright [X] (Inactive)
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Neo
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title