Skip to content

Conversation

@MoteHue
Copy link
Contributor

@MoteHue MoteHue commented Dec 31, 2025

No description provided.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request documents a known issue with RabbitMQ after upgrades. My review focuses on improving the reliability and safety of the provided workaround. I've suggested embedding the script from the external gist directly into the documentation to prevent issues with broken or modified links, and have added a critical warning about the script's destructive nature, as it can cause data loss.

Comment on lines +236 to +239
After some upgrades, it has been seen that RabbitMQ streams do not have replicas across all RabbitMQ nodes.
Errors like this will be logged: ``Basic.consume: (406) PRECONDITION_FAILED - stream queue 'compute_fanout' in vhost '/' does not have a running replica on the local node``.
A proper fix is still WIP, in the meantime these errors can be resolved with this script:
https://gist.github.com/MoteHue/00ba4b85b8e708c46060e025deee8a78
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest making the error log a proper block and format the link:

Suggested change
After some upgrades, it has been seen that RabbitMQ streams do not have replicas across all RabbitMQ nodes.
Errors like this will be logged: ``Basic.consume: (406) PRECONDITION_FAILED - stream queue 'compute_fanout' in vhost '/' does not have a running replica on the local node``.
A proper fix is still WIP, in the meantime these errors can be resolved with this script:
https://gist.github.com/MoteHue/00ba4b85b8e708c46060e025deee8a78
After some upgrades, it has been seen that RabbitMQ streams do not have replicas across all RabbitMQ nodes.
Errors like this will be logged::
Basic.consume: (406) PRECONDITION_FAILED - stream queue 'compute_fanout' in vhost '/' does not have a running replica on the local node
A proper fix is still WIP, in the meantime these errors can be resolved with this script:
`<https://gist.github.com/MoteHue/00ba4b85b8e708c46060e025deee8a78>`__

Suggestion renders like this:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants