Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ds): Don't start the supervision tree when feature is off #12264

Merged
merged 1 commit into from Jan 8, 2024

Conversation

ieQu1
Copy link
Member

@ieQu1 ieQu1 commented Jan 5, 2024

Fixes EMQX-11692

Release version: v/e5.4.1

Summary

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

Checklist for CI (.github/workflows) changes

  • If changed package build workflow, pass this action (manual trigger)
  • Change log has been added to changes/ dir for user-facing artifacts update

@ieQu1 ieQu1 force-pushed the avoid-starting-ds-when-feature-is-off branch from 806265c to d454a1d Compare January 5, 2024 16:15
zmstone
zmstone previously approved these changes Jan 8, 2024
@zmstone
Copy link
Member

zmstone commented Jan 8, 2024

It seems the default value is expected differently in some test cases.

@zmstone zmstone changed the base branch from master to release-54 January 8, 2024 13:44
@zmstone zmstone dismissed their stale review January 8, 2024 13:44

The base branch was changed.

@ieQu1 ieQu1 force-pushed the avoid-starting-ds-when-feature-is-off branch 3 times, most recently from fb2c1a3 to 95ce92a Compare January 8, 2024 14:34
@ieQu1 ieQu1 marked this pull request as ready for review January 8, 2024 14:41
@ieQu1 ieQu1 requested review from keynslug and a team as code owners January 8, 2024 14:41
@ieQu1 ieQu1 force-pushed the avoid-starting-ds-when-feature-is-off branch from 95ce92a to a9c99cc Compare January 8, 2024 15:34
@ieQu1 ieQu1 requested a review from lafirest as a code owner January 8, 2024 15:34
@ieQu1 ieQu1 force-pushed the avoid-starting-ds-when-feature-is-off branch 2 times, most recently from d89b3a3 to 1cdcda5 Compare January 8, 2024 16:19
ensure_workers() ->
ChildSpec = #{
id => workers_sup,
restart => temporary,
Copy link
Member Author

Choose a reason for hiding this comment

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

I guess it's better this way while the feature is still experimental.

keynslug
keynslug previously approved these changes Jan 8, 2024
@ieQu1 ieQu1 force-pushed the avoid-starting-ds-when-feature-is-off branch from eb7287f to caf461f Compare January 8, 2024 16:59
@ieQu1 ieQu1 merged commit 88f6495 into emqx:release-54 Jan 8, 2024
161 of 162 checks passed
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.

None yet

3 participants