You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2017/06/02 12:51:05 UTC
[jira] [Created] (QPID-7808) [Java Broker] [AMQP 0-10] Producer
flow control overflow policy is not triggered on breaching the threshold
due to missing Session principal
Alex Rudyy created QPID-7808:
--------------------------------
Summary: [Java Broker] [AMQP 0-10] Producer flow control overflow policy is not triggered on breaching the threshold due to missing Session principal
Key: QPID-7808
URL: https://issues.apache.org/jira/browse/QPID-7808
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: qpid-java-broker-7.0.0
Reporter: Alex Rudyy
Fix For: qpid-java-broker-7.0.0
Session principal is not set on invocation of ServerConnection#receivedComplete(). As result, when maximum queue depth threshold is breached, the producer flow control overflow policy is not triggered. The following stack trace demonstrate the issue:
{noformat}
"IO-/127.0.0.1:57308@5531" prio=5 tid=0x21 nid=NA runnable
java.lang.Thread.State: RUNNABLE
at
org.apache.qpid.server.queue.ProducerFlowControlOverflowPolicyHandler$Handler.checkOverfull(ProducerFlowControlOverflowPolicyHandler.java:177)
at
org.apache.qpid.server.queue.ProducerFlowControlOverflowPolicyHandler$Handler.checkOverflow(ProducerFlowControlOverflowPolicyHandler.java:88)
at
org.apache.qpid.server.queue.ProducerFlowControlOverflowPolicyHandler.checkOverflow(ProducerFlowControlOverflowPolicyHandler.java:57)
at
org.apache.qpid.server.queue.AbstractQueue.doEnqueue(AbstractQueue.java:1167)
at
org.apache.qpid.server.queue.AbstractQueue.enqueue(AbstractQueue.java:1096)
at
org.apache.qpid.server.message.RoutingResult$1.postCommit(RoutingResult.java:136)
at
org.apache.qpid.server.txn.AsyncAutoCommitTransaction$3.postCommit(AsyncAutoCommitTransaction.java:304)
at
org.apache.qpid.server.protocol.v0_10.ServerSession$AsyncCommand.complete(ServerSession.java:1716)
at
org.apache.qpid.server.protocol.v0_10.ServerSession.awaitCommandCompletion(ServerSession.java:1651)
at
org.apache.qpid.server.protocol.v0_10.ServerSession.receivedComplete(ServerSession.java:1615)
at
org.apache.qpid.server.protocol.v0_10.ServerConnection.receivedComplete(ServerConnection.java:422)
at
org.apache.qpid.server.protocol.v0_10.AMQPConnection_0_10Impl.lambda$received$1(AMQPConnection_0_10Impl.java:145)
at
org.apache.qpid.server.protocol.v0_10.AMQPConnection_0_10Impl$$Lambda$24.869704345.run(Unknown
Source:-1)
at java.security.AccessController.doPrivileged(AccessController.java:-1)
at
org.apache.qpid.server.protocol.v0_10.AMQPConnection_0_10Impl.received(AMQPConnection_0_10Impl.java:139)
at
org.apache.qpid.server.transport.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:130)
at
org.apache.qpid.server.transport.NonBlockingConnection.processAmqpData(NonBlockingConnection.java:593)
at
org.apache.qpid.server.transport.NonBlockingConnectionPlainDelegate.processData(NonBlockingConnectionPlainDelegate.java:58)
at
org.apache.qpid.server.transport.NonBlockingConnection.doRead(NonBlockingConnection.java:483)
at
org.apache.qpid.server.transport.NonBlockingConnection.doWork(NonBlockingConnection.java:270)
at
org.apache.qpid.server.transport.NetworkConnectionScheduler.processConnection(NetworkConnectionScheduler.java:157)
at
org.apache.qpid.server.transport.SelectorThread$ConnectionProcessor.processConnection(SelectorThread.java:563)
at
org.apache.qpid.server.transport.SelectorThread$SelectionTask.performSelect(SelectorThread.java:354)
at
org.apache.qpid.server.transport.SelectorThread$SelectionTask.run(SelectorThread.java:97)
at
org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:521)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org