-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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]consumer backlog eviction policy should not reset read position for consumer #18037
Conversation
…osition for consumer
Codecov Report
@@ Coverage Diff @@
## master #18037 +/- ##
=========================================
Coverage ? 43.90%
Complexity ? 10604
=========================================
Files ? 1180
Lines ? 84791
Branches ? 9638
=========================================
Hits ? 37229
Misses ? 43882
Partials ? 3680
Flags with carried forward coverage won't be shown. Click here to find out more. |
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BacklogQuotaManager.java
Outdated
Show resolved
Hide resolved
LGTM with minor comment |
|
It is due to the test topic and subscription are reused by other test cases, which I have fixed already. |
/pulsarbot run-failure-checks |
Pulsar Flaky tests failed due to #17921 |
…ad position for consumer (apache#18037) Fixes apache#18036 - The backlog eviction policy should use `asyncMarkDelete` instead of `resetCursor` in order to move the mark delete position. (cherry picked from commit 0b7140b)
Motivation
Fixes #18036
Modifications
asyncMarkDelete
instead ofresetCursor
in order to move the mark delete position.Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
doc-not-needed
doc
doc-complete
Matching PR in forked repository
PR in forked repository: HQebupt#5