[midPoint-git] [Evolveum/midpoint] 624a07: Eliminate superfluous "get shadow" operations

mederly noreply at github.com
Sat Feb 28 00:03:48 CET 2026


  Branch: refs/heads/fix/11115
  Home:   https://github.com/Evolveum/midpoint
  Commit: 624a076e24dacad7f864825e179a1e2f9b9237d4
      https://github.com/Evolveum/midpoint/commit/624a076e24dacad7f864825e179a1e2f9b9237d4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-02-28 (Sat, 28 Feb 2026)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionUpdateOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionsLoadOperation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    A model/model-intest/src/test/resources/associations/resource-dummy-ad-cached.xml
    M model/model-intest/src/test/resources/associations/system-configuration.xml

  Log Message:
  -----------
  Eliminate superfluous "get shadow" operations

This commit eliminates superfluous reading of shadows from the repo
when shadow caching is fully enabled. In a scenario with outbound
mappings it reduced the number of read operations from 6 to 3
(two "get", one "search").

It is important because for scenarios with accounts having hundreds
of reference values, each "get" operation translates to hundreds of
low-level repository "get" operations for the shadows.

Work in progress: to be thoroughly tested.

Related to MID-11115.

(cherry picked from commit 5706ccec29cf5c113c96f492d0dd0d2705c6540b)



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list