[midPoint-git] [Evolveum/midpoint] ca9667: Fix buckets' double reclaim (MID-4681)

mederly noreply at github.com
Fri Jun 14 10:50:09 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: ca9667ef687b8371a8454ffef969637e16e56b78
      https://github.com/Evolveum/midpoint/commit/ca9667ef687b8371a8454ffef969637e16e56b78
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/Statistics.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/WorkBucketStatisticsCollector.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/WorkStateManager.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestWorkDistribution.java
    M repo/task-quartz-impl/src/test/resources/work/task-230-1.xml
    M repo/task-quartz-impl/src/test/resources/work/task-230-2.xml

  Log Message:
  -----------
  Fix buckets' double reclaim (MID-4681)

Now the workerRef is set for delegated buckets. This allows more
efficient reclaims (avoiding listing all subtasks) as well as
avoids the possibility of reclaiming the same bucket by two scavengers
at once (MID-4681).

Also cleaned up and documented the bucket management statistics record.




More information about the midPoint-svn mailing list