You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2010/05/11 15:02:40 UTC

[jira] Created: (QPID-2593) Broker shutdown process does not wait for Connection Closure

Broker shutdown process does not wait for Connection Closure
------------------------------------------------------------

                 Key: QPID-2593
                 URL: https://issues.apache.org/jira/browse/QPID-2593
             Project: Qpid
          Issue Type: Bug
    Affects Versions: 0.6
            Reporter: Martin Ritchie


Currently during broker shutdown the virtualhost closes all registered connections.

However, it doesn't sensibly wait for these connections to have been closed.
A) It keeps sending a close frame until it is removed from the _registry. (It should only send it once)
B) When the connection is closing it immediately removes its connection from the _registry before it has finished its processing.

So two things to fix.

1) Vhost close should send 1 close frame per connection and then wait for them to close
2) The connection should not be removed from the _registry until it is no longer active.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2593) Broker shutdown process does not wait for Connection Closure

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-2593:
---------------------------------

    Component/s: Java Broker

> Broker shutdown process does not wait for Connection Closure
> ------------------------------------------------------------
>
>                 Key: QPID-2593
>                 URL: https://issues.apache.org/jira/browse/QPID-2593
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6
>            Reporter: Martin Ritchie
>
> Currently during broker shutdown the virtualhost closes all registered connections.
> However, it doesn't sensibly wait for these connections to have been closed.
> A) It keeps sending a close frame until it is removed from the _registry. (It should only send it once)
> B) When the connection is closing it immediately removes its connection from the _registry before it has finished its processing.
> So two things to fix.
> 1) Vhost close should send 1 close frame per connection and then wait for them to close
> 2) The connection should not be removed from the _registry until it is no longer active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org