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

RemoveSnapshotsTask has threading issues and incorrectly processes npm repositories

    Details

    • Story Points:
      3

      Description

      Nexus 3.3.1 was configured with two Snapshot removal tasks that started at the same time:

      See attached text file for play-by-play.

      Problems

      • quartz-1-thread-11 task is only configured to process agfa-snapshots but logs it is also processing orbis-snapshots:
        2017-06-17 03:00:00,141+0200 INFO [quartz-1-thread-11] *SYSTEM org.sonatype.nexus.repository.maven.internal.RemoveSnapshotsFacetImpl - Removing snapshots on repository orbis-snapshots with configuration: org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsConfig(2, 7, true, 365)
      • the ending task thread is clearly processing *npm* assets when it should only be processing Maven repositories
      • one of tasks times out and fails performing a query - the other one takes an extremely long time with very little progress logging.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moncef Moncef Ben-Soula
              Reporter:
              maxschaefer Max Schaefer
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              Nexus - Formats
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title