[midPoint-git] [Evolveum/midpoint] a0527c: Fix connector schema parsing race condition
mederly
noreply at github.com
Thu Jun 1 14:09:39 CEST 2023
Branch: refs/heads/support-4.4
Home: https://github.com/Evolveum/midpoint
Commit: a0527c5fffc9ebe61b87a4795803ed0b1edfe17b
https://github.com/Evolveum/midpoint/commit/a0527c5fffc9ebe61b87a4795803ed0b1edfe17b
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-06-01 (Thu, 01 Jun 2023)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ConnectorTypeUtil.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/AbstractProvisioningIntegrationTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractDummyTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyExtra.java
Log Message:
-----------
Fix connector schema parsing race condition
The DOM objects used in midPoint are not thread safe, even for reading.
The problem manifests itself when a connector is initialized in
multiple threads at once.
This commit provides an immediate fix by coordinating access to
that particular place. (Note that the issue emerged also due to
- mistaken - schema cloning elimination in
59bee63b1b8eb933db39e8a9b61a4023b25ec4c0, but we are not ready
to re-introduce schema cloning now because of the expected
performance penalty.)
This resolves MID-8860.
(cherry picked from commit e254736b094c8ac667b4532e60566bec2f63a695)
More information about the midPoint-svn
mailing list