[jboss-jira] [JBoss JIRA] (WFCORE-3476) ServerSuspendHandler gets stuck suspending a server already suspended if a timeout is used

Yeray Borges (JIRA) issues at jboss.org
Thu Dec 21 04:09:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yeray Borges updated WFCORE-3476:
---------------------------------
    Steps to Reproduce: 
# For example, in domain mode, execute:
:suspend-servers
# Once the servers are suspended, run again: 
:suspend-servers(timeout=10)

The latest operation never ends

  was:
# For example, in domain mode, execute:
:suspend-servers
# wait some seconds until getting the servers in a suspended state, run again: 
:suspend-servers(timeout=10)

The latest operation never ends



> ServerSuspendHandler gets stuck suspending a server already suspended if a timeout is used
> ------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-3476
>                 URL: https://issues.jboss.org/browse/WFCORE-3476
>             Project: WildFly Core
>          Issue Type: Bug
>    Affects Versions: 4.0.0.Alpha5
>            Reporter: Yeray Borges
>            Assignee: Yeray Borges
>
> ServerSuspendHandler blocks until the suspend is done receiving a notification from the SuspendController. The issue here is if the server is already suspended, there are no notifications, and then the handler blocks forever until it is interrupted. This only occurs if the suspend is used with a timeout.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list