Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot 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.


This is an automatic backport of pull request #12066 done by Mergify.
This is an automatic backport of pull request #12067 done by Mergify.

(cherry picked from commit f0c0cf8)
(cherry picked from commit 535c264)
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.

(cherry picked from commit dc611dd)
(cherry picked from commit a5216db)
(cherry picked from commit dce8135)
(cherry picked from commit 9bea607)
@the-mikedavis the-mikedavis merged commit 861dc88 into v3.13.x Aug 21, 2024
@the-mikedavis the-mikedavis deleted the mergify/bp/v3.13.x/pr-12067 branch August 21, 2024 00:26
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.

2 participants