Defect #1764
closedTwo instances of the same synchronization running simultaneously
10%
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.
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.
Updated by Vít Švanda almost 5 years ago
- Assignee changed from Vít Švanda to Ondrej Husník
Updated by Ondrej Husník almost 5 years ago
- Status changed from New to In Progress
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.