Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.39.0, 3.40.0, 3.40.1
-
1
-
NXRM Immortals Sprint 38
-
3
-
non-concept
-
2
Description
Deleting a tag results in a disassociation attempt against all components.
Also as a result, there is a performance concern where every increase in the number of components may result in a longer tag delete time.
To reproduce (test is against OrientDB, issue is not observed with Postgres):
- Set up instance with multiple components across multiple repos.
- Create a tag and associate it to one component.
- Enable DEBUG logging on com.sonatype.nexus.tags.orient.internal.OrientTagServiceImpl
- Delete the tag from step 1 (DELETE /service/rest/v1/tags/{name}) and observe that the DEBUG logging will log a "Disassociating component" entry for every component.
Expected:
Deleting a tag should only result in a disassociation attempt against the associated component(s).