[midPoint-git] [Evolveum/midpoint] 12e954: Fix multithreaded reconciliation tasks
mederly
noreply at github.com
Fri Mar 5 11:22:26 CET 2021
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 12e9546e4f12dac2aee22fd079f7bdbbeef4cf55
https://github.com/Evolveum/midpoint/commit/12e9546e4f12dac2aee22fd079f7bdbbeef4cf55
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-03-05 (Fri, 05 Mar 2021)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestReconTaskMultiNode.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestReconTaskMultithreaded.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestReconTaskPartitioned.java
A model/model-intest/src/test/resources/common/task-reconcile-dummy-blue-multithreaded.xml
A model/model-intest/src/test/resources/common/task-reconcile-dummy-green-multithreaded.xml
A model/model-intest/src/test/resources/common/task-reconcile-dummy-multithreaded.xml
M model/model-intest/testng-integration-full.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ProcessingCoordinator.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/RunningTask.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskManager.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/LightweightTaskManager.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/MockParallelTaskHandler.java
Log Message:
-----------
Fix multithreaded reconciliation tasks
On some occasions the worker threads for part 1 (operation completion)
had no time to start. So they are not running when part 1 finishes,
therefore not stopped, and so part 2 cannot start.
This is now fixed by closing not only running but also runnable
subtasks.
This resolves MID-6882.
More information about the midPoint-svn
mailing list