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

Alex Rudyy updated QPID-7987:
-----------------------------
    Attachment: 0002-instrumentation.patch

Attached a patch with some instrumentation code allowing to detect the QBB 
leak. An existing test 
{{org.apache.qpid.test.unit.transacted.TransactionTimeoutTest#testProducerOpenCommit}}
 reproduces the leak

> [Qpid Broker-J][AMQP 0-10] QpidByteBuffer can leak when local transaction 
> open/idle time exceeds the maximum open/idle timeout causing session close 
> but a new message arrives at the same time when session is in process of close
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7987
>                 URL: https://issues.apache.org/jira/browse/QPID-7987
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-broker-7.0.0
>            Reporter: Alex Rudyy
>         Attachments: 0002-instrumentation.patch
>
>
> {{QpidByteBuffer}} can leak when broker operates with configured open and 
> idle transaction close timeouts ( 
> {{virtualhost.storeTransactionOpenTimeoutClose}} or/and 
> {{virtualhost.storeTransactionIdleTimeoutClose}}) and the transaction timeout 
> occurs  causing the Broker to close the underlying session but at the same 
> time a new message arrives. The new message {{QpidByteBuffer}} might not be 
> disposed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to