Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16448

Replication reload operation might throw exception due to multiple InitQueuesContextJob tasks on the repo key and target url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.11.0
    • Component/s: Replication
    • Labels:
      None
    • Severity:
      Medium

      Description

      Event replication has a job to initiate the event queue. The job is triggered on startup on existing replication, or scheduled after create/update replication configuration.

      If the job is still running for a specific repository and target replication URL and while a user is trying to change the replication configuration, an exception will be thrown:

      Caused by: java.lang.IllegalStateException: Cannot schedule task (artifactory.InitQueuesContextJob#e28157db-77ed-47bc-b949-8439c252369a)! Another task of same type and key artifactory.InitQueuesContextJob#a0911cd9-7114-4e94-930d-05460a94b965 is already scheduled!

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                shayb Shay Bagants
                Reporter:
                shayb Shay Bagants
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-16448 -
                    SYNCHRONIZED
                    • Last Sync Date: