[rabbitmq-discuss] Shovel bug in 2.2.0? (fixed in 2.4.0?)

Øyvind Tjervaag oyvind at tjervaag.com
Fri Apr 1 18:04:16 BST 2011


On Apr 1, 2011, at 6:55 PM, Matthew Sackman wrote:
> 
> Be careful. There is, sadly, a bug in 2.4.0 which means that upgrades
> from 2.3.1 or earlier will fail to automatically upgrade the on-disk
> format of msgs will fail in some cases.
> 
> No data will be lost - the upgrade code is very careful to take backups
> before it starts, and will say where in the logs.
> 
> If you have durable queues with msgs on disk that you need to preserve
> then I do not recommend upgrading to 2.4.0. In this case, 2.3.1 is a
> much better idea.
> 
> If you do not have any persisted msgs in durable queues, or you don't
> care about losing any such messages, then upgrading to 2.4.0 is fine,
> though you'll have to manually wipe out your mnesia dir (the logs will
> tell you where this is) after upgrading.
> 
> Best wishes,
> 
> Matthew

I see. I'll stop all my producers first, let the messages drain off, and then do the upgrade :)

Thanks for the heads up!

/Øyvind



More information about the rabbitmq-discuss mailing list