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

[broker]Optimized namespace-level dispathcRateLimiter update #15315

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

AnonHxy
Copy link
Contributor

@AnonHxy AnonHxy commented Apr 25, 2022

Motivation

Because we have used the HierarchyTopicPolicies to store dispatch rate for all levels, there is no need to check topic-level when namespace-level updating

Modifications

Remove getTopicPolicies() in org.apache.pulsar.broker.service.persistent.PersistentTopic#onPoliciesUpdate

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • no-need-doc
    (Please explain why)

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 25, 2022
@AnonHxy
Copy link
Contributor Author

AnonHxy commented Apr 26, 2022

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.11.0 milestone Apr 26, 2022
@codelipenghui codelipenghui merged commit 74eae1a into apache:master Apr 26, 2022
@codelipenghui codelipenghui added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker labels Apr 26, 2022
AnonHxy added a commit to AnonHxy/pulsar that referenced this pull request Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants