qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kennedy (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (QPID-3010) broker uses the MINA PooledByteBufferAllocator instead of the SimpleByteBufferAllocator
Date Wed, 26 Jan 2011 14:24:44 GMT

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

Andrew Kennedy resolved QPID-3010.

    Resolution: Fixed

> broker uses the MINA PooledByteBufferAllocator instead of the SimpleByteBufferAllocator
> ---------------------------------------------------------------------------------------
>                 Key: QPID-3010
>                 URL: https://issues.apache.org/jira/browse/QPID-3010
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6, 0.7, 0.8
>            Reporter: Robbie Gemmell
>            Assignee: Andrew Kennedy
>            Priority: Critical
>             Fix For: 0.9
> The broker is currently making use of the PooledByteBufferAllocator, which was not expected.
The codebase in general (client/common/broker) makes many attempts to ensure that the SimpleByteBufferAllocator
is used by default, however previous refactoring of the network layer has lead to a path in
which the broker is able to start without engaging use of the SimpleByteBufferAllocator.
> As a result, MINA is effectively able to overwrite existing frame payload in the broker
at random before a given command is completed and frame payloads are combined in a new buffer.
This can also lead to unexpected situations where a ByteBuffer attempts to add its contents
to itself.
> MINANetworkDriver should ensure it always sets use of the SimpleByteBufferAllocator.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message