Skip to content

Conversation

@the-mikedavis
Copy link
Collaborator

@the-mikedavis the-mikedavis commented Aug 20, 2024

This is a follow-up to #11998. The main change is to return a non-zero exit code for rabbitmqctl enable_feature_flag <expermental-flag>. When enabling khepri_db locally I wasn't 100% sure rabbitmqctl didn't attempt to enable the flag regardless (i.e. the message seemed more like a warning) and I thought a non-zero exit code and the error text would make it more obvious.

Also included are a typo fix and unit tests for the --experimental flag, one for all and another for a given experimental feature flag name.

With the prior behavior it can be unclear whether the text was a warning
and the feature flag was enabled anyways. We can use a non-zero exit
code and the `{:error, code, text}` return value to make it clear that
the flag wasn't enabled.
@the-mikedavis the-mikedavis force-pushed the md/experimental-ff-ctl-fixes branch from 385efca to dce8135 Compare August 20, 2024 20:23
@the-mikedavis the-mikedavis marked this pull request as ready for review August 20, 2024 21:39
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