[
https://issues.jboss.org/browse/WFCORE-2734?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFCORE-2734:
------------------------------------------
https://github.com/wildfly/wildfly-core/compare/master...bstansberry:WFCO... shows
this, although I'm not sure supporting this a great idea. OTOH people may try and do
it regardless so this at least provides a better shot at correct behavior.
ParallelBootOperationContext should add "foreign" steps to
the main context
---------------------------------------------------------------------------
Key: WFCORE-2734
URL:
https://issues.jboss.org/browse/WFCORE-2734
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The ParallelBootOperationContext addStep impl always adds steps for the same stage to its
own queue. It should check the address of those steps and if not for its own subsystem it
should add them to the main context's queue. This will allow subsystem A to add steps
that affect subsystem B safe in the knowledge they will execute after completion of the
parallel part of B's execution.
In Stage.MODEL addition of such steps for Stage.RUNTIME should be rejected. Such steps
will not execute in any reasonable order vs the non-foreign steps that B itself will add.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)