qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Quack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-7962) [Java Broker][AMQP 1.0] In some circumstances Broker fails to send Flow back when Flow with drain flag set is received from client
Date Thu, 26 Oct 2017 12:25:00 GMT

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

Lorenz Quack updated QPID-7962:
-------------------------------
    Attachment: 0001-QPID-7962-Broker-J-AMQP-1.0-In-some-circumstances-Br.patch

My attached patch tries to fix the issue by doing two things:
* When message is stolen from consumer add it to the queue's list of interested consumers
* Rename {{QueueConsumer#}} and {{ConsumerTarget#queueEmpty}} to {{#noMessagesAvailable}}.
The effect of this method is potential auto-close on 0-8 and potential credit draining on
1.0. This is now always called when we currently cannot deliver messages to this consumer.
This can occur when
 ** there is no message (the queue is empty)
 ** existing messages do not pass through the consumer's filters
 ** the consumer has no credit
 ** there is a different consumer with higher priority and credit blocking delivery to this
lower priority consumer


> [Java Broker][AMQP 1.0] In some circumstances Broker fails to send Flow back when Flow
with drain flag set is received from client
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7962
>                 URL: https://issues.apache.org/jira/browse/QPID-7962
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-broker-7.0.0
>            Reporter: Alex Rudyy
>            Priority: Minor
>             Fix For: qpid-java-broker-7.0.0
>
>         Attachments: 0001-QPID-7962-Broker-J-AMQP-1.0-In-some-circumstances-Br.patch,
TEST-org.apache.qpid.server.queue.LiveQueueOperationsTest.testClearQueueOperationWithActiveConsumerDlqAll.txt
>
>
> Occasionally when clear queue operation is invoked from management and {{Flow}} with
{{drain}} flag is received from client concurrently, the {{Broker}} might not send {{Flow}}
back after clearing the queue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message