[midPoint-git] [Evolveum/midpoint] 0f6056: Stop trying to update low-level stats for AU

mederly noreply at github.com
Thu Mar 24 23:29:59 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0f60564c7a6313b3103f64dd71d5bb8e0a0d745d
      https://github.com/Evolveum/midpoint/commit/0f60564c7a6313b3103f64dd71d5bb8e0a0d745d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/async/AsyncUpdateActivityRun.java
    M model/model-intest/testng-integration-full.xml
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/sources/Amqp091AsyncUpdateSource.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/IterativeActivityRun.java

  Log Message:
  -----------
  Stop trying to update low-level stats for AU

There are some threading issues in asynchronous update tasks, e.g. when
AMQP client is used: The thread that handles the connection is different
from the thread that belongs to the async. update task.

We are not ready to deal with this situation yet. There is a safe-
guarding WARN message when updating thread-local task statistics,
and it was applied in this situation.

This commit provides a workaround: we no longer try to update these
low-level stats for async update tasks. This means that the warning is
gone. But the statistics are (still) not available.

This resolves MID-7464.




More information about the midPoint-svn mailing list