[midPoint-git] [Evolveum/midpoint] 957cfe: Eliminate needless focus reload

mederly noreply at github.com
Tue Sep 28 10:57:01 CEST 2021


  Branch: refs/heads/feature/mid-7053
  Home:   https://github.com/Evolveum/midpoint
  Commit: 957cfeca5c7ff3cc77b42fc5b5fff16be0bf6a43
      https://github.com/Evolveum/midpoint/commit/957cfeca5c7ff3cc77b42fc5b5fff16be0bf6a43
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java

  Log Message:
  -----------
  Eliminate needless focus reload

When deciding whether to rot the focus context, we no longer look
at what deltas were computed, but whether any deltas were really
executed (or failed to be executed).

This eliminates needless context rot, followed by context reload.
(That operation can be costly for large objects.)

Resolves MID-5830. Related to MID-7053 as well.




More information about the midPoint-svn mailing list