[rabbitmq-discuss] fail upgrade from 3.1.3 to 3.1.4

Simon MacMullen simon at rabbitmq.com
Thu Aug 8 16:02:19 BST 2013


You can pull records out of Mnesia, but bear in mind that messages are 
stored in RabbitMQ's message store, not Mnesia. And really RabbitMQ is 
the only thing that can read that in a practical sense.

Cheers, Simon

On 08/08/2013 1:08PM, Guillaume Vernat wrote:
> Ok. I will try and let you know...
>
> And my other question is there a way to export datas from mnesia db ?
>
>
> 2013/8/8 Simon MacMullen <simon at rabbitmq.com <mailto:simon at rabbitmq.com>>
>
>     Hi.
>
>     It looks like we managed to release a version 3.1.4 which is not
>     compatible with other 3.1.x versions in the same cluster. Damn.
>
>     So if you upgrade *all* the nodes in the cluster to 3.1.4, and
>     restore the /var/lib/rabbitmq/mnesia on all the nodes, then things
>     should work.
>
>     Cheers, Simon
>
>
>     On 08/08/2013 11:54AM, Guillaume Vernat wrote:
>
>         Hy Simon,
>
>         I really needed this cluster up. So, after making a copy of
>         /var/lib/rabbitmq/mnesia I rebuild cluster.
>         Now it's ok going on 3.1.4
>
>         How can I export messages from the copy in order to have them
>         back in
>         the cluster ?
>
>         Guillaume VERNAT
>
>
>         2013/8/8 Guillaume Vernat <verenate at verenate.com
>         <mailto:verenate at verenate.com>
>         <mailto:verenate at verenate.com <mailto:verenate at verenate.com>>__>
>
>
>              Hy Simmons, thank you for your answer.
>
>              The cluster was : amqp105/amqp107 and amqp108 (ram). Main
>         node is
>              105 and I stated update with it.
>              107 and 108 were runnning during update. I join the log file
>              starting errors where :
>
>              Error description:
>                  {error,{incompatible_bytecode,__"Incompatible Erlang
>         bytecode
>              found on nodes"}}
>
>
>
>
>              2013/8/8 Simon MacMullen <simon at rabbitmq.com
>         <mailto:simon at rabbitmq.com>
>              <mailto:simon at rabbitmq.com <mailto:simon at rabbitmq.com>>>
>
>
>                  Huh. You should not need to stop the cluster to do a minor
>                  version upgrade like that. What error are you seeing?
>
>                  Cheers, Simon
>
>
>                  On 08/08/2013 9:25AM, Guillaume Vernat wrote:
>
>                      Hy,
>
>                      I try to up upgrade a cluster from 3.1.3 to 3.1.4
>         on debian
>                      wheezy.
>                      apt-get update
>                      apt-get dist-upgrade
>
>                      but upgrade fail because I did not stop the cluster
>         nodes :(
>                      I finally stop the other cluster nodes but it was
>         too late
>                      for the first
>                      one.
>
>                      How can I start back the first node ?
>                      I already touch
>
>         /var/lib/rabbitmq/mnesia/<____node>/nodes_running_at_____shutdown,
>
>                      rabbit_serial, cluster_nodes.config but it fail again.
>
>                      Guillaume
>
>
>                      ___________________________________________________
>                      rabbitmq-discuss mailing list
>                      rabbitmq-discuss at lists.__rabbi__tmq.com
>         <http://rabbitmq.com>
>                      <mailto:rabbitmq-discuss at __lists.rabbitmq.com
>         <mailto:rabbitmq-discuss at lists.rabbitmq.com>>
>         https://lists.rabbitmq.com/____cgi-bin/mailman/listinfo/____rabbitmq-discuss
>         <https://lists.rabbitmq.com/__cgi-bin/mailman/listinfo/__rabbitmq-discuss>
>
>
>         <https://lists.rabbitmq.com/__cgi-bin/mailman/listinfo/__rabbitmq-discuss
>         <https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>>
>
>
>                  --
>                  Simon MacMullen
>                  RabbitMQ, Pivotal
>

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list