[midPoint-git] [Evolveum/midpoint] 4aea5c: Fix two race conditions in task-quartz-impl

Pavol Mederly mederly at evolveum.com
Tue Mar 20 12:07:13 CET 2018


  Branch: refs/heads/feature/multinode-tasks
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4aea5cde40a103c3b8285951c7312cf391610b11
      https://github.com/Evolveum/midpoint/commit/4aea5cde40a103c3b8285951c7312cf391610b11
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/tasks/WfTaskController.java
    M repo/task-api/pom.xml
    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/TaskManagerQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/ExecutionManager.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java

  Log Message:
  -----------
  Fix two race conditions in task-quartz-impl

When a waiting task is made runnable we must make sure it was
not suspended in the meanwhile. Otherwise the suspension request
is simply ignored.

Also, test for complete buckets optimization had to be weaken
because due to parallel processing there can be more than one
complete bucket left.




More information about the midPoint-svn mailing list