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 subscription dispatch rate does not work after the topic unload without dispatch rate limit. #8947

Merged
merged 2 commits into from
Dec 14, 2020

Conversation

codelipenghui
Copy link
Contributor

Motivation

Fix subscription dispatch rate does not work after the topic unload without dispatch rate limit.
Currently, if the subscription dispatch rate is present then update the rate limit, the subscription can be affected by the new policy. But if the subscription dispatch rate is absent, update the rate limit, the subscription cannot be affected.

Verifying this change

New unitest added.

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): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

@codelipenghui codelipenghui self-assigned this Dec 14, 2020
@codelipenghui codelipenghui added this to the 2.8.0 milestone Dec 14, 2020
@codelipenghui codelipenghui added component/topic-policy type/bug The PR fixed a bug or issue reported a bug release/2.7.1 labels Dec 14, 2020
@codelipenghui codelipenghui requested review from hangc0276, sijie, merlimat and jiazhai and removed request for hangc0276 and sijie December 14, 2020 04:34
@codelipenghui
Copy link
Contributor Author

/pulsarbot run-failure-checks

@sijie sijie merged commit 37e02fa into apache:master Dec 14, 2020
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Dec 21, 2020
codelipenghui added a commit that referenced this pull request Dec 21, 2020
…ithout dispatch rate limit. (#8947)

### Motivation

Fix subscription dispatch rate does not work after the topic unload without dispatch rate limit.
Currently, if the subscription dispatch rate is present then update the rate limit, the subscription can be affected by the new policy. But if the subscription dispatch rate is absent, update the rate limit, the subscription cannot be affected.

### Verifying this change

New unitest added.

(cherry picked from commit 37e02fa)
@codelipenghui codelipenghui deleted the penghui/fix-sub-dispatch-rate branch May 19, 2021 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.1 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants