[midPoint-git] [Evolveum/midpoint] 26cb48: Fix frozen multithreaded import task

mederly noreply at github.com
Thu Aug 15 08:45:39 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 26cb48b7acb8863b997d656c5cd68ffeecbf97c6
      https://github.com/Evolveum/midpoint/commit/26cb48b7acb8863b997d656c5cd68ffeecbf97c6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ReconciliationTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ReindexResultHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobExecutor.java

  Log Message:
  -----------
  Fix frozen multithreaded import task

Coordinator thread was waiting for workers, while workers were waiting
for the work: a deadlock.

It looks like waitForTransientChildren was invoked at unusual place
- in executeHandler(JobExecutor.java:654) - i.e. without setting
allItemsSubmitted to true.

This commit tries to fix that.


  Commit: 30e2ced008f5f06c79fd637480bde57d5e91e5da
      https://github.com/Evolveum/midpoint/commit/30e2ced008f5f06c79fd637480bde57d5e91e5da
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/UserProfileServiceImpl.java

  Log Message:
  -----------
  Make SessionRegistry not required

It is needed to make tests pass.


Compare: https://github.com/Evolveum/midpoint/compare/9545dc654855...30e2ced008f5


More information about the midPoint-svn mailing list