[rabbitmq-discuss] RabbitMQ 2.2.0 message delivery issue: internal crash

Eugene Kirpichov ekirpichov at gmail.com
Thu Aug 18 17:48:48 BST 2011

On Thu, Aug 18, 2011 at 9:41 AM, Matthias Radestock
<matthias at rabbitmq.com> wrote:
> Alfonso,
> On 18/08/11 14:50, Alfonso Pantoja wrote:
>> Because this issue does not happen very ofter I'm wondering if you
>> could suggest what to the check (messages properties use, etc.) or the
>> possible causes that lead to message corruption (after reading your
>> responses I  understand that we should review our modifications in
>> mod_rabbitmq but it would be nice to have a tip to track down that
>> bug)
> In the original rabbitmq-xmpp code base, the only place for things to go
> wrong is at
> https://github.com/rabbitmq/rabbitmq-xmpp/blob/master/src/mod_rabbitmq.erl#L250.
> That code is bullet proof (famous last words), but I suspect you have either
> modified it or have similar code elsewhere.
> The thing to watch out for in particular is what values you place in the
> properties. Their type must correspond to what is expected for the given key
> in the Basic content properties (see
> http://www.rabbitmq.com/amqp-0-9-1-reference.html#class.basic). shortstr and
> longstr must be Erlang binaries. octet, shortint, longint, longlongint and
> timestamp must be Erlang integers. And 'table' must be a list of {KeyBinary,
> TypeAtom, Value}.
>> Regarding the broker upgrade I would like to know what is the
>> procedure for upgrading it without losing the messages (all our
>> messages are persistent).
> Simply install the new broker. Persistent messages in durable queues will be
> retained.

Does this apply to messages from uncommitted transactions or messages
that weren't part of a transaction at all, and haven't been fsync'd
> Matthias.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/

More information about the rabbitmq-discuss mailing list