You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2012/12/14 13:14:12 UTC

[jira] [Commented] (QPID-4503) Producer transaction timeout detection feature may produce suprious open/idle alerts and close client connections without good cause

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

Keith Wall commented on QPID-4503:
----------------------------------

I am able to reliably reproduce this defect on my our machine (Intel Xeon E5620) with the attached perf test script and a virtualhost config to use BDB, with transaction timeout configured and housekeeping at 25ms checkPeriod.  See attachment.
                
> Producer transaction timeout detection feature may produce suprious open/idle alerts and close client connections without good cause
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4503
>                 URL: https://issues.apache.org/jira/browse/QPID-4503
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.12, 0.14, 0.16, 0.18, 0.20
>            Reporter: Keith Wall
>
> There is a race condition in AMQChannel#checkTransactionStatus (and ServerSession#checkTransactionStatus) which can lead to spurious open/idle alerts and incorrectly closed client connections (0-8..0-9-1) or client sessions (0-10).
> When the defect manifests, the alert generated incorrectly identifies the transaction as being open since Jan 1, 1970. eg. 1,355,281,641,112 ms
> e.g.
> {noformat}
> [con:11(guest@/127.0.0.1:47276/test)/ch:2] CHN-1007 : Open Transaction : 1,355,281,641,112 ms
> {noformat}
> This defect affects only users who have configured the transaction timeout feature (as described http://qpid.apache.org/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Runtime-Producer-Transaction-Timeout.html).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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