Project

General

Profile

Actions

Defect #1764

closed

Two instances of the same synchronization running simultaneously

Added by Vladimír Kotýnek over 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Vladimír Kotýnek
Category:
Synchronization
Target version:
Start date:
07/26/2019
Due date:
% Done:

10%

Estimated time:
Affected versions:
Owner:

Description

version 9.6.5
Environment with MSSQL.
I started a synchronization from GUI by clicking on the "play" button, not as a scheduled task. The synchronization wasn't sheduled at all. Then in the log there were two synchronization running simultaneously, started at the same time and processing the same users.
This happened for two different systems (CSV and Active Directory) three times in an hour. In two cases the synchronization started immediately after clicking on the button. I one case it started a few tens of seconds later. There was no other process running in the IDM, this happened during the initial data synchronization.
I've tried to reproduce it but I couldn't figure out how.

Actions #1

Updated by Vladimír Kotýnek over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Vladimír Kotýnek over 5 years ago

Today it happened again. But after I stopped the synchronization I realized that another two SynchronizationSchedulableTaskExecutor (I can't say whether they were the original ones or not) were still running in in the task scheduler (also seen on the dashboard), but no running synchronization was to be seen in the system detail. When I stopped them after a few minutes and tried to re-run the synchronization, it always started and I could see it as "running" in the sheduled tasks list and on dashboard but there were no log record in the synchronization detail in system configuration. I couldn't even stop it from there. This happened repeteadly until I restarted the Tomcat.

Actions #3

Updated by Vít Švanda almost 5 years ago

  • Assignee changed from Vít Švanda to Ondrej Husník
Actions #4

Updated by Vít Švanda almost 5 years ago

  • Target version set to 10.2.0
Actions #5

Updated by Ondrej Husník almost 5 years ago

  • % Done changed from 0 to 10
Actions #6

Updated by Ondrej Husník almost 5 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Ondrej Husník almost 5 years ago

  • Status changed from In Progress to Rejected
  • Assignee changed from Ondrej Husník to Vladimír Kotýnek

I tried to reproduce this bug on my environment with MSSQL and CSV system but it didn't occurred. The synchronization was always started once.

Actions

Also available in: Atom PDF