-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.18.1
-
Fix Version/s: 3.20.0
-
Component/s: Maven, Scheduled Tasks
-
Labels:
-
Notability:2
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.
- causes
-
NEXUS-22666 concurrent uploads to the same maven GA may result in 500 response due to OConcurrentModificationException
-
- Closed
-
-
NEXUS-23392 potentially long running transaction rebuilding metadata under concurrent access triggered by GET of GA level maven-metadata.xml
-
- Closed
-
-
NEXUS-23393 a GA level maven-metadata.xml GET request may trigger rebuilding unrelated GA maven-metadata.xml
-
- Closed
-