[midPoint-git] [Evolveum/midpoint] 19905c: Check trigger existence in optimizing creator
mederly
noreply at github.com
Wed Aug 7 10:59:47 CEST 2024
Branch: refs/heads/support-4.8
Home: https://github.com/Evolveum/midpoint
Commit: 19905c2bea7babcadc126b181ae515aadab05b20
https://github.com/Evolveum/midpoint/commit/19905c2bea7babcadc126b181ae515aadab05b20
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-08-07 (Wed, 07 Aug 2024)
Changed paths:
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/MidpointFunctions.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/OptimizingTriggerCreator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/triggerSetter/OptimizingTriggerCreatorImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestOptimizingTriggerCreator.java
Log Message:
-----------
Check trigger existence in optimizing creator
The OptimizingTriggerCreator did not check for trigger existence
in a strict way, which lead to creation of duplicate triggers
on some occasions - e.g., in cluster or when caches were cleared
in the meanwhile.
Although not considered harmful initially, it seems that this
behavior can lead to relatively massive creation of triggers
in some environments.
Hence, this commit strengthens the trigger existence checks,
at the cost of some extra repository read accesses.
Related to MID-9368.
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