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] [broker] Fix nothing changed after removing dynamic configs #22673

Merged
merged 3 commits into from
May 8, 2024

Conversation

poorbarcode
Copy link
Contributor

Motivation

Background

  • Broker registers listeners to monitor the config change events
  • After calling admin updateDynamicConfiguration, the configuration in memory will be changed and the listeners will receive an event.

Issue
After calling admin deleteDynamicConfiguration, the configuration in memory will not change and the listeners will receive nothing.

Modifications

When calling admin deleteDynamicConfiguration

  • revert the config to the default value
  • trigger an event for the listeners

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode added this to the 3.4.0 milestone May 8, 2024
@poorbarcode poorbarcode self-assigned this May 8, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 8, 2024
@poorbarcode poorbarcode changed the title [fix] [broker] Fix nothing happend after remove a dynamic config [fix] [broker] Fix nothing changed after removing dynamic configs May 8, 2024
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@poorbarcode
Copy link
Contributor Author

/pulsarbot rerun-failure-checks

Copy link
Member

@dao-jun dao-jun left a comment

Choose a reason for hiding this comment

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

lgtm

@poorbarcode poorbarcode merged commit ada31a9 into apache:master May 8, 2024
50 checks passed
@poorbarcode poorbarcode deleted the fix/remove_dynamic_config branch May 8, 2024 13:46
poorbarcode added a commit that referenced this pull request May 8, 2024
poorbarcode added a commit that referenced this pull request May 8, 2024
poorbarcode added a commit that referenced this pull request May 8, 2024
poorbarcode added a commit that referenced this pull request May 8, 2024
poorbarcode added a commit that referenced this pull request May 9, 2024
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 13, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 13, 2024
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 15, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants