[midPoint-git] [Evolveum/midpoint] 3e4730: Migrate tasks synchronization to iterative search
Andrej
noreply at github.com
Mon Dec 16 15:05:18 CET 2024
Branch: refs/heads/support-4.8
Home: https://github.com/Evolveum/midpoint
Commit: 3e4730cf764482341b855a0738e58aaecf85db81
https://github.com/Evolveum/midpoint/commit/3e4730cf764482341b855a0738e58aaecf85db81
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2024-12-16 (Mon, 16 Dec 2024)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
M release-notes.adoc
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/QuartzUtil.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/TaskSynchronizer.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestMiscellaneous.java
Log Message:
-----------
Migrate tasks synchronization to iterative search
**What**
Use iterative search of tasks in midPoint repository instead of the
search which returns all the results.
**Why**
The non iterative search has a hardcoded limit of 10 000 objects. If
there were more objects than that threshold, only first 10 000 were
returned.
That causes a bug in some edge cases, e.g. when the midPoint repository
contained more than 10 000 tasks. When those tasks were synchronized,
tasks which were not returned from the `searchObjects` method were
removed from Quartz jobs store, because "synchronizer" thought there is
only that many tasks.
**Fixes**: MID-10213
(cherry picked from commit 4cad8058acbb3ee2ebba23f2ce489facb8d47de5)
Commit: 29722fe70be4b032491bc35db2fb71e26351e2d1
https://github.com/Evolveum/midpoint/commit/29722fe70be4b032491bc35db2fb71e26351e2d1
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2024-12-16 (Mon, 16 Dec 2024)
Changed paths:
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/UpAndDown.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobStarter.java
Log Message:
-----------
Remove unused code
**What**
Remove code, which is not used anymore.
(cherry picked from commit 93ab89a5c94b4f85477f7e741ad206864d07a66c)
Commit: 205b4edbcaf4f956fc88a542c1e2d25debf79b2a
https://github.com/Evolveum/midpoint/commit/205b4edbcaf4f956fc88a542c1e2d25debf79b2a
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2024-12-16 (Mon, 16 Dec 2024)
Changed paths:
M release-notes.adoc
Log Message:
-----------
Create section for improvements from 4.8.5
**What**
I notices that there wasn't a section for improvements and fixes in
respect to previous release - 4.8.5. So I added it and moved one of my
previous fixes to that section as well.
Commit: 25c1642a42bddfe3abbc43d1a784d27fb9e01ea6
https://github.com/Evolveum/midpoint/commit/25c1642a42bddfe3abbc43d1a784d27fb9e01ea6
Author: Andrej <84732799+and-za at users.noreply.github.com>
Date: 2024-12-16 (Mon, 16 Dec 2024)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
M release-notes.adoc
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/UpAndDown.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobStarter.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/QuartzUtil.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/TaskSynchronizer.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestMiscellaneous.java
Log Message:
-----------
Merge pull request #245 from Evolveum/bugfix/4.8/10213
Migrate tasks synchronization to iterative search
Compare: https://github.com/Evolveum/midpoint/compare/2200cc5c00a1...25c1642a42bd
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