qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7808) [Java Broker] [AMQP 0-10] Producer flow control overflow policy is not triggered on breaching the threshold due to missing Session principal
Date Thu, 08 Jun 2017 15:38:18 GMT

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

ASF subversion and git services commented on QPID-7808:
-------------------------------------------------------

Commit 9cd91156c3693aeef8748b7c1829841d2b1faed9 in qpid-broker-j's branch refs/heads/master
from [~alex.rufous]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=9cd9115 ]

QPID-7808: Rename test


> [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


Mime
View raw message