[midPoint-git] [Evolveum/midpoint] 64ef97: Add a test for MID-10231
Tony Tkáčik
noreply at github.com
Tue Dec 10 11:07:03 CET 2024
Branch: refs/heads/support-4.9
Home: https://github.com/Evolveum/midpoint
Commit: 64ef976e1e3c6f719532b27a3a7983967465f09a
https://github.com/Evolveum/midpoint/commit/64ef976e1e3c6f719532b27a3a7983967465f09a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/ShadowPartitioningTest.java
Log Message:
-----------
Add a test for MID-10231
The test200 now fails but that's no problem as the class is not part
of a test suite (for now).
Commit: 16786ecf6ead048f78eb66dcd03105c849d5dae5
https://github.com/Evolveum/midpoint/commit/16786ecf6ead048f78eb66dcd03105c849d5dae5
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
M repo/repo-sqale/testng-unit.xml
Log Message:
-----------
MID-10231: Fixed deadlock in Sqale repository by processing URIs before opening transaction
In case of auto-partitioning URI caching transactions and retries did not worked
corretly which resulted in deadlock on PostgreSQL side.
URI caching is done for some URIs before real add transaction is opened.
This ensures URIs will be available to transaction and less retries.
The solution does not account for all possible cached URIs since some
are cached via Item Mappings and some are hardcoded in the code.
Commit: 4a917625caa0a5ce54ffac1b4973f10e3a2ab142
https://github.com/Evolveum/midpoint/commit/4a917625caa0a5ce54ffac1b4973f10e3a2ab142
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
Log Message:
-----------
MID-10231: Fixed NPE in AddObjectContext
Compare: https://github.com/Evolveum/midpoint/compare/57df7a48309b...4a917625caa0
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