Skip to content

[issue #13439][backlogQuota] Allow both limit and limitsize be null - #13557

Merged
codelipenghui merged 1 commit into
apache:masterfrom
hezhangjian:issue-13439
Jan 7, 2022
Merged

[issue #13439][backlogQuota] Allow both limit and limitsize be null#13557
codelipenghui merged 1 commit into
apache:masterfrom
hezhangjian:issue-13439

Conversation

@hezhangjian

Copy link
Copy Markdown
Member

Fixes #13439

Motivation

Now we only constraint limit or limitSize be set on pulsar-admin, we don't limit it on rest endpoint. So there are situtations that both limit and limitSize be null

Verifying this change

This change added tests and can be verified as follows:

  • *Added test method in BacklogQuotaCompatibilityTest

Documentation

Check the box below or label this PR directly (if you have committer privilege).

Need to update docs?

  • no-need-doc

    bug fix, no need doc

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Dec 29, 2021
@hezhangjian

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@codelipenghui
codelipenghui merged commit 33491bc into apache:master Jan 7, 2022
codelipenghui pushed a commit that referenced this pull request Jan 10, 2022
…13557)

Fixes #13439
### Motivation
Now we only constraint `limit` or `limitSize` be set on pulsar-admin, we don't limit it on rest endpoint. So there are situtations that both `limit` and `limitSize` be null

### Verifying this change

This change added tests and can be verified as follows:
  - *Added test method in `BacklogQuotaCompatibilityTest`

(cherry picked from commit 33491bc)
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.9 Archived: 2.9 is end of life doc-not-needed Your PR changes do not impact docs release/2.9.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression creating a namespace with "null" in "backlog_quota_map" causes a NullPointerException on 2.9.1, but not 2.9.0 or earlier

5 participants