Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-commons
Commit: e8eb0b189c9f042aa85e1aa9ee0aa5db8174d478
https://github.com/xwiki/xwiki-commons/commit/e8eb0b189c9f042aa85e1aa9ee0aa…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M
xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-api/src/main/java/org/xwiki/job/JobExecutor.java
M
xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-default/src/main/java/org/xwiki/job/internal/DefaultJobExecutor.java
Log Message:
-----------
XCOMMONS-3330: Job groups with several threads may not return a current job (#1329)
* Store several current jobs.
* Add a new possibility to return all running jobs of a job group.
* Deprecate the old method that returns just a single running job.
* Clean up empty entries in groupedJobs.
* Some code cleanup.
* Avoid possible race condition by starting the job only after adding it
to the queue.
* Remove the job again if enqueuing them should fail.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-commons/settings/notifications