[rabbitmq-discuss] queue gets removed from a node

Matthias Radestock matthias at rabbitmq.com
Thu Sep 8 13:23:01 BST 2011


On 08/09/11 13:17, Matthew Sackman wrote:
> On Tue, Aug 30, 2011 at 04:06:03PM +0100, Cezary Siwek wrote:
>> links but is it a correct behavior when a queue gets deleted from
>> the node? At least the node should allow producer to re-create the
>> queue and keep all the messages until connection between nodes is
>> back up.
>
> We used to allow this, but it's wrong: your queue still exists on Node1,
> it's just that Node2 can't see Node1 any more. If the producer was
> allowed to recreate the queue on Node2 then when the cluster reforms,
> you'll then have two queues with the same name, which then leads to all
> sorts of crazy problems. Thus we forbid it.

...for durable queues (only), i.e. when the node containing a 
non-durable queue vanishes, that queue truly disappears and can be 
re-created on other nodes.

Matthias.


More information about the rabbitmq-discuss mailing list