qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Reopened: (QPID-2004) On shutting down the broker, the connection state of active connections is not freed
Date Tue, 01 Jun 2010 22:11:36 GMT

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

Andrew Stitcher reopened QPID-2004:

I really don't like the fix for QPID-2004 in here (I don't expecially like adding hasShutdown()
either but it doesn't seem harmful).

My view is that the Poller is not supposed to be shutdown if it still has handles registered.
If that happens then it is a bug in the code using the Poller.

> On shutting down the broker, the connection state of active connections is not freed
> ------------------------------------------------------------------------------------
>                 Key: QPID-2004
>                 URL: https://issues.apache.org/jira/browse/QPID-2004
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.5
>         Environment: Linux
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>            Priority: Minor
> The IO layer (e.g. AsynchIOHandler for TCP) creates and holds a ConnectionCodec object
by pointer for each connection. All connection state is rooted in that object. However for
connections that are active when the broker is shutdown, those objects and all their internal
state, is not freed but is leaked.
> As the broker is shutting down anyway, the leak is not nice but not critical (henc I've
marked this as minor rather than major). However it can lead to e.g. Queue destructors not
being called etc. 

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

View raw message