[jboss-jira] [JBoss JIRA] (WFCORE-2734) ParallelBootOperationContext should add "foreign" steps to the main context
Brian Stansberry (JIRA)
issues at jboss.org
Mon May 1 15:52:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400383#comment-13400383 ]
Brian Stansberry commented on WFCORE-2734:
------------------------------------------
https://github.com/wildfly/wildfly-core/compare/master...bstansberry:WFCORE-2734 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)
More information about the jboss-jira
mailing list