[midPoint-git] [Evolveum/midpoint] fe42ae: Fix various aspects of operation retrying

mederly noreply at github.com
Mon May 10 19:33:47 CEST 2021


  Branch: refs/heads/feature/mid-7041
  Home:   https://github.com/Evolveum/midpoint
  Commit: fe42ae485d5e2f43b487c894504ee51c9610b070
      https://github.com/Evolveum/midpoint/commit/fe42ae485d5e2f43b487c894504ee51c9610b070
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningOperationOptions.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningOperationState.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/RefreshHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/PendingOperationsHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowUpdater.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyConsistency.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/AbstractAdLdapMultidomainTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/consistency/TestConsistencyMechanism.java
    M testing/story/src/test/resources/consistency/resource-opendj-reaper.xml
    M testing/story/src/test/resources/consistency/resource-opendj.xml

  Log Message:
  -----------
  Fix various aspects of operation retrying

1. When provisioning - namely, the shadows module - updates a shadow
in repository (after e.g. successful ADD operation), it updates
in-memory information as well. This is a compensation for imprecise
code that replaced repo shadow by the resource object that was invoked
after retrying ADD operation.

2. We no longer retry modification or deletion operation if the resource
object does not exist (yet). This is to avoid useless failures.

3. When doing reconciliation, ContextLoader issues projection getObject
with forceRetry option only on the first occasion (projection wave 0).

4. Add forgotten clone when constructing pending operation delta.

This should resolve MID-7044.




More information about the midPoint-svn mailing list