[
https://issues.apache.org/jira/browse/QPID-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim van der Riet resolved QPID-2278.
------------------------------------
Resolution: Fixed
Changing the order of the encoded items such that the alternate exchange is
encoded last (after the args FieldTable) means that on decode, the broker can
check for remaining bytes and decode the alternate-exchange name only if the
string is present.
Fixed in r.890965
> Store recovery compatibility problem introduced by alternate-exchange fix
> -------------------------------------------------------------------------
>
> Key: QPID-2278
> URL: https://issues.apache.org/jira/browse/QPID-2278
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: Kim van der Riet
> Assignee: Kim van der Riet
>
> A recent checkin (r.831082) fixed a problem in which the exchange did not
> persist the alternate-exchange setting, and on recovery this was being lost.
> To fix it, an additional string was added to the Exchange::encode() and
> Exchange::decode() methods. However, this fix means that there is a binary
> incompatibility between pre- and post-fix exchange data. Attempting to
> recover stores from pre-fix brokers result in broker shutdown if recovery is
> attempted using post-fix brokers.
--
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:[email protected]