Skip to content

Smart integration: fix parallel object class discovery coordination#590

Merged
tonydamage merged 1 commit intomasterfrom
vaia/wp1/fix-parallel-discovery-objectclass-details
Apr 10, 2026
Merged

Smart integration: fix parallel object class discovery coordination#590
tonydamage merged 1 commit intomasterfrom
vaia/wp1/fix-parallel-discovery-objectclass-details

Conversation

@johnstone3
Copy link
Copy Markdown
Contributor

Add waitForSiblingByPolling() so that parallel discovery tasks always finish together - the task that completes first signals its own SUCCESS via activity resultStatus and waits for siblings; on sibling failure it returns FATAL_ERROR, on sibling success it returns success. Refactor suspendSiblings() and waitForSiblingByPolling() to use getSiblingActivityTypes() defined per handler instead of passing the set as a parameter. Fix Javadoc to correctly state SystemException is thrown when task is asked to stop.

Add waitForSiblingByPolling() so that parallel discovery tasks always
finish together - the task that completes first signals its own SUCCESS
via activity resultStatus and waits for siblings; on sibling failure it
returns FATAL_ERROR, on sibling success it returns success.
Refactor suspendSiblings() and waitForSiblingByPolling() to use
getSiblingActivityTypes() defined per handler instead of passing the set
as a parameter. Fix Javadoc to correctly state SystemException is thrown
when task is asked to stop.
@tonydamage tonydamage merged commit 29ee209 into master Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants