[jboss-jira] [JBoss JIRA] (WFCORE-2145) Confusing transitions of ControlledProcessState

Brian Stansberry (JIRA) issues at jboss.org
Mon Jan 23 13:00:00 EST 2017


    [ https://issues.jboss.org/browse/WFCORE-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13352388#comment-13352388 ] 

Brian Stansberry commented on WFCORE-2145:
------------------------------------------

I updated the description to reflect the downstream issue so it's clear what's expected here.

> Confusing transitions of ControlledProcessState
> -----------------------------------------------
>
>                 Key: WFCORE-2145
>                 URL: https://issues.jboss.org/browse/WFCORE-2145
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Alpha16
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>
> Starting a server into normal mode emits these transitions for the process running state:
> - starting -> suspended -> normal
> Similarly when transitioning to admin-only mode:
> - starting -> suspended -> admin-only
> Stopping from normal mode:
> - normal -> suspending -> suspended -> stopping
> Starting into suspended mode emits:
> - starting -> stopping -> stopped
> (and the {{stopped}} state represents that the server is actually in {{suspended}} mode)
> I find it confusing that:
> - -During a normal start, it transitions through a state named {{suspended}} even though the server is not suspended.- _this is actually correct_
> - -During a stop, it is even more confusing, because it goes through one extra state - {{suspending}} which doesn't occur during start.- - _this is actually correct_
> - The state to represent a suspended server is named {{stopped}} and not {{suspended}}.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list