[rabbitmq-discuss] Mirrored queue failover

Katsushi Fukui ka.fukui at ms.scsk.jp
Tue Apr 17 10:03:43 BST 2012


Thank you, Matthew,

I created an exchange "ex1" that is bound to que1, and published a message using a publisher was connected to rabbit3 as you suggested.
I could send it without returning error, but the logs of rabbit3 shows this error:
=ERROR REPORT==== 17-Apr-2012::11:12:30 ===
Discarding message {'$gen_cast',{deliver,{delivery,false,false,<0.3061.0>,{basic_message,{resource,<<1 byte>>,exchange,<<3 bytes>>},[<<5 bytes>>],{content,60,{'P_basic',<<10 bytes>>,undefined,undefined,2,0,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined},<<15 bytes>>,rabbit_framing_amqp_0_9_1,[<<12 bytes>>]},<<16 bytes>>,true},undefined},flow}} from <0.3061.0> to <0.229.0> in an old incarnation (3) of this node (2)

The result of list_queues is:
# ./rabbitmqctl list_queues name messages slave_pids synchronised_slave_pids
Listing queues ...
que1    1       [<rabbit at rabbit2.1.229.0>]      [<rabbit at rabbit2.1.229.0>]
...done.

I wonder if this problem is only occurred in my environment.



(2012/04/16 22:16), Matthew Sackman wrote:
> Hi,
>
> I'm afraid I really don't know what to suggest. It looks like somehow
> Erlang is not properly noticing rabbit3 coming back up, and getting
> itself very confused. I don't know why this would be.
>
> You say you're already using 2.8.1 and R15B, so I can't really just
> suggest upgrading. Perhaps one further thing to test is when rabbit3
> comes back up, connect a publisher to it (specifically rabbit3 rather
> than any other node) and try to publish to an exchange routing to the
> problematic queue. I'd be curious to know whether those messages
> actually end up in the queue or not.
>
> For some reason, whilst rabbit3 seems to know about 1 and 2, 1 and 2 are
> a long way from convinced they know about 3. Something is very unhappy
> in the cluster, and I've really no idea why.
>
> Matthew
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



More information about the rabbitmq-discuss mailing list