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

Deleting tag results in disassociation attempt against all components

    Details

    • Story Points:
      1
    • Sprint:
      NXRM Immortals Sprint 38
    • Notability:
      3
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      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):

      1. Set up instance with multiple components across multiple repos.
      2. Create a tag and associate it to one component.
      3. Enable DEBUG logging on com.sonatype.nexus.tags.orient.internal.OrientTagServiceImpl
      4. 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).

        Attachments

          Activity

            People

            Assignee:
            mshevelov Mykyta Shevelov
            Reporter:
            hardeepn Hardeep Nagra
            Last Updated By:
            Rich Seddon Rich Seddon
            Team:
            NXRM - Optimus
            Owner:
            Mykyta Shevelov Mykyta Shevelov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title