[jboss-jira] [JBoss JIRA] (WFLY-1511) RemoteDomainConnection.close() will block forever if the master HC is not running

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Jun 12 15:11:54 EDT 2013


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

Brian Stansberry updated WFLY-1511:
-----------------------------------

    Comment: was deleted

(was: A question is why the master stopping isn't triggering something that cleans up state such that the slave attempt to connect/unregister fails promptly.)

    
> RemoteDomainConnection.close() will block forever if the master HC is not running 
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-1511
>                 URL: https://issues.jboss.org/browse/WFLY-1511
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: Brian Stansberry
>            Assignee: Emanuel Muckenhuber
>
> RemoteDomainConnection.close() overrides FutureManagementChannel.close() to first send a "unregister" message to the master HC before calling the superclass functionality.
> Problem is this call tries to open a connection to the master and will block forever waiting for it to connect if the master isn't available, as seen at http://fpaste.org/18232/37105700/
> That example was from AutoIgnoredResourcesDomainTestCase which is concurrently shutting down the hosts in the domain, meaning the master can be shutting down in the middle of or prior to slave shutdown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list