[rabbitmq-discuss] consistent hashing plugin

Grégoire Seux kamaradclimber at gmail.com
Wed Jan 16 12:21:38 GMT 2013


Hello,

I was testing consistent hashing plugin and noticed a weird behavior
when using autodelete objects : some messages sent to an consistent
hashing exchange are never transferred to the bound queues.

To reproduce :
1. create a consistent hashing exchange (auto-delete, non durable),
start send messages with random routing key
2. create a queue (non durable, exlusive, auto delete) and bind it to
the exchange (routing key : "20"), consume messages from it
3. delete the queue
4. create a new queue with the same parameters and a different name,
consume messages

After 2., all messages are routed to the queue, after 4. around half
messages just disappear, the other are normally consumed by the new
queue.


If you replace the 4th step with
4b. create a new queue with the same parameters and the _same_ name
it works as expected.

Am I missing something?

I have reproduced this befavior with rabbitmq 2.8.2, 2.8.4 and 3.0.1
on centos. I have used the webinterface to see messages rates
(example: http://img832.imageshack.us/img832/2291/weirdhashing.png)

Any comment is welcome!

--
Gregoire


More information about the rabbitmq-discuss mailing list