[midPoint-git] [Evolveum/midpoint] 8eff98: Migrate tasks synchronization to iterative search
Andrej
noreply at github.com
Mon Dec 16 10:45:57 CET 2024
Branch: refs/heads/bugfix/10213
Home: https://github.com/Evolveum/midpoint
Commit: 8eff9846b6fe554d75e8a5b6f75fd10c493317e2
https://github.com/Evolveum/midpoint/commit/8eff9846b6fe554d75e8a5b6f75fd10c493317e2
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
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.
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