Skip to content

state_changing crash in classic queue when enabling feature flag stream_queues #5018

Answered by dumbbell
gomoripeti asked this question in Questions
Discussion options

You must be logged in to vote

As discussed with @michaelklishin, calling rabbit_ff_registry:is_enabled/1 is incorrect: it is internal to the feature flags subsystem and may lead to various crashes very difficult to debug every time a feature flag is enabled.

The correct function is rabbit_feature_flags:is_enabled/1. This one will always return a boolean. It does take care of the wait if there is a need for it.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Comment options

You must be logged in to vote
1 reply
@dumbbell
Comment options

Answer selected by dumbbell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants