You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2011/01/21 17:13:45 UTC
[jira] Assigned: (QPID-3010) broker uses the MINA
PooledByteBufferAllocator instead of the SimpleByteBufferAllocator
[ https://issues.apache.org/jira/browse/QPID-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell reassigned QPID-3010:
------------------------------------
Assignee: Andrew Kennedy (was: Robbie Gemmell)
Andrew can you review please? Thanks.
> 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