-
Hi, I have found a reproduce-able issue with up to and including version 3.10.6 of rabbitmq. What happens:
Reproduction Setup: ( see https://github.com/dhxgit/rmq-storage-issue )
Result:
Even though this is a somewhat unusual case (un-used queues that are checked by consumers that constantly restart consuming), I believe that it should not fill up the storage with segments files which just seem to contain the consumer-tags. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Only MQTT connections are tracked using Raft log (because client IDs must be unique). Quorum queue Raft "system" is different from that of MQTT, so they use different storage directories.
|
Beta Was this translation helpful? Give feedback.
-
When you say "kill It can be that your setup leaks consumers in a loop. |
Beta Was this translation helpful? Give feedback.
-
Every basic consume request results in a state machine change and thus a Ra log entry. It is correct that we don't currently perform snapshotting for the scenario of basic consume against an empty queue then killing the connection. We do if the basic consume is ended with a basic cancel but for terminations we missed to do that. I think we can promote this to a bug. |
Beta Was this translation helpful? Give feedback.
Every basic consume request results in a state machine change and thus a Ra log entry. It is correct that we don't currently perform snapshotting for the scenario of basic consume against an empty queue then killing the connection. We do if the basic consume is ended with a basic cancel but for terminations we missed to do that.
I think we can promote this to a bug.