You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have upgraded to RabbitMQ 4.3.1 for our deployment, therefore fixing this in core is now urgent for us.
The solution I went with is to just make the queues durable. That means the queues survive all workers for a processor being disconnected. They do reattach cleanly though, once this is set up.
The only issue I found so far is that I did need to delete the old queues manually, otherwise the different durable settings will lead to errors and somehow the non-durable queues did not automatically get deleted after shutting down the workers. But that could be a timing issue.
Since I am not a RabbitMQ expert, I'm not sure whether this might cause different problems or whether we need to configure some TTL mechanism. So I would appreciate feedback by those who know better e.g. @MehmedGIT
The only issue I found so far is that I did need to delete the old queues manually
The queue_delete and queue_purge methods inside connector.py should be utilized wherever appropriate to delete the queues on restarts (when desired). I need to check exactly how to implement that so it's less painful when we want fresh restarts, e.g., when doing manual tests.
otherwise the different durable settings will lead to errors and somehow the non-durable queues did not automatically get deleted after shutting down the workers. But that could be a timing issue.
I think that's rather related to the feature flags which are enabled by default. However, I'm not sure how to fix that yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transient, non-exclusive queues (ie. queue created with
durable=Falseandexclusive=Falseare deprecated as of 4.0 and removed as of 4.3. of RabbitMQ.We have upgraded to RabbitMQ 4.3.1 for our deployment, therefore fixing this in core is now urgent for us.
The solution I went with is to just make the queues durable. That means the queues survive all workers for a processor being disconnected. They do reattach cleanly though, once this is set up.
The only issue I found so far is that I did need to delete the old queues manually, otherwise the different
durablesettings will lead to errors and somehow the non-durable queues did not automatically get deleted after shutting down the workers. But that could be a timing issue.Since I am not a RabbitMQ expert, I'm not sure whether this might cause different problems or whether we need to configure some TTL mechanism. So I would appreciate feedback by those who know better e.g. @MehmedGIT