qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-5781) [Java broker] exceptions while closing entries in the ConnectionRegistry can prevent clean shutdown
Date Mon, 02 Jun 2014 12:17:02 GMT

     [ https://issues.apache.org/jira/browse/QPID-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Wall resolved QPID-5781.
------------------------------

    Resolution: Fixed

Changes look reasonable to me.  I do note the possibility of a AIOOBException at line 67 if
#close() races with a close connection over the wire.  This problem is not new, but with the
new work to control the state of the virtual host, this problem may be more likely to manifest
in non-shutdown situations.  A separate Jira will be raised.

> [Java broker] exceptions while closing entries in the ConnectionRegistry can prevent
clean shutdown
> ---------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5781
>                 URL: https://issues.apache.org/jira/browse/QPID-5781
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.20, 0.22, 0.24, 0.26, 0.28
>            Reporter: Robbie Gemmell
>            Assignee: Keith Wall
>             Fix For: 0.29
>
>
> When the ConnectionRegistry is closed during broker shutdown, it attempts to close connections
within a try-catch block and logs the exception. It is likely any such exception would mean
the connection wont close and properly deregister, in which case the registry close process
could sit looping retrying it.
> If an exception is thrown while closing a connection in the registry, it should be removed
immediately to ensure the process cant infinite loop.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message