[rabbitmq-discuss] do we need to delete data folder during rpm upgrades?

Simon MacMullen simon at rabbitmq.com
Mon Oct 8 11:44:55 BST 2012


Are you starting all nodes (near) simultaneously post upgrade?

During cluster upgrade we get the first node to start to do the mnesia 
upgrade, others then don't do that part. I think the error you are 
seeing is consistent with there being two "first" nodes in the upgrade.

In future we might be able to add better locking around this, although 
for various reasons it's not as easy as it sounds.

Cheers, Simon

On 05/10/2012 6:52PM, Nithya Vijayakumar wrote:
> Thanks Simon. After the rpm upgrade, when we try to start the nodes and
> they error out. We also tried killall -u rabbitmq before restart. Issue
> doesn't happen always, only once in a while.
>
>         {merge_schema_failed,
>
>                 "Bad cookie in table definition rabbit_topic_trie_node:...
>
>
> After we delete the data folder, rabbitmq starts fine. We would prefer
> not to delete the data folder as we need to copy out the queues and
> users and restore them.
>
> Thanks,
>
> Nithya
>
>
>
> On Fri, Oct 5, 2012 at 2:35 AM, Simon MacMullen <simon at rabbitmq.com
> <mailto:simon at rabbitmq.com>> wrote:
>
>     On 04/10/12 23:28, Nithya Vijayakumar wrote:
>
>         We recently upgraded from 2.7.1 to 2.8.6. After the rpm upgrade,
>         in some
>         instances we notice that our two node HA setup doesn't start
>         until the
>         data folder is deleted. Is this required for upgrades? Is there any
>         format/schema change that might be needing this?
>
>
>     There are schema changes, but RabbitMQ should take care of them for
>     you automatically. What are you seeing when it doesn't start?
>
>     Cheers, Simon
>
>     --
>     Simon MacMullen
>     RabbitMQ, VMware
>
>


More information about the rabbitmq-discuss mailing list