You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/14 13:04:01 UTC

[jira] [Commented] (QPID-7541) [Broker-J] Close Consumers when a Queue is deleted

    [ https://issues.apache.org/jira/browse/QPID-7541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686480#comment-16686480 ] 

ASF GitHub Bot commented on QPID-7541:
--------------------------------------

GitHub user alex-rufous opened a pull request:

    https://github.com/apache/qpid-broker-j/pull/17

    QPID-7541: [Broker-J] Close consumers when a Queue is deleted

    The proposed changes allow to close queue sending and receiving links and mark all in-progress queue transactions as read-only. If in-progress transaction is in process of committing/rollingback when queue is deleted, the deletion functionality is waiting for the transaction discharge to complete in order to avoid loosing any messages in case of pushing deleted queue messages into alternate destination.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alex-rufous/qpid-broker-j QPID-7541

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-broker-j/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit 540ad5840ad2168f2e21a212c0fbe5e618617833
Author: Alex Rudyy <or...@...>
Date:   2018-11-14T12:39:36Z

    QPID-7541: [Broker-J] Close consumers when a Queue is deleted

----


> [Broker-J] Close Consumers when a Queue is deleted
> --------------------------------------------------
>
>                 Key: QPID-7541
>                 URL: https://issues.apache.org/jira/browse/QPID-7541
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>            Reporter: Lorenz Quack
>            Priority: Major
>             Fix For: qpid-java-broker-7.1.0
>
>         Attachments: 0001-QPID-7541-Broker-J-Close-Consumers-when-a-Queue-is-d.patch, proton-j_client.log, simultaneous_closing.log
>
>
> Currently when a Queue is deleted the associated Consumers are not closed. 
> This is essentially a resource leak.
> Note: In 6.1.x, for the AMQP 1.0 protocol, deleting a queue did detach the sending links (without error).  Receiving links were not detached.   This code (org.apache.qpid.server.protocol.v1_0.ConsumerTarget_1_0#queueDeleted) was removed in 7.0.x and this JIRA raised.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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