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

[improve][broker] Improve backlogQuota endpoint to pure async. #17383

Merged
merged 1 commit into from
Sep 6, 2022
Merged

[improve][broker] Improve backlogQuota endpoint to pure async. #17383

merged 1 commit into from
Sep 6, 2022

Conversation

mattisonchao
Copy link
Member

Motivation

Since Pulsar is a fully asynchronous project, we need to avoid using thread-blocking methods.

Also, we can see #14365

Modifications

  • Improve backlogQuota relative endpoint to pure async.

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@mattisonchao mattisonchao self-assigned this Sep 1, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 1, 2022
@mattisonchao mattisonchao added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/admin labels Sep 1, 2022
@mattisonchao mattisonchao added this to the 2.12.0 milestone Sep 1, 2022
@mattisonchao mattisonchao merged commit ff4dc08 into apache:master Sep 6, 2022
@mattisonchao mattisonchao deleted the pip_149_12 branch September 6, 2022 05:27
poorbarcode added a commit that referenced this pull request Jun 30, 2023
…ntion exists (#20690)

Motivation: When a retention policy exists, the command `pulsar-admin namespaces set-backlog-quota` does not take effect.In the PR #17383: it only checked the compatibility of `retention` and `backlog quota`, and it was not set.

Modifications: Fix the bug.
poorbarcode added a commit that referenced this pull request Jun 30, 2023
…ntion exists (#20690)

Motivation: When a retention policy exists, the command `pulsar-admin namespaces set-backlog-quota` does not take effect.In the PR #17383: it only checked the compatibility of `retention` and `backlog quota`, and it was not set.

Modifications: Fix the bug.
(cherry picked from commit 6acd01d)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin 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.

5 participants