[improve][broker] allow client skips the non-continued deleted ranges stats#18263
[improve][broker] allow client skips the non-continued deleted ranges stats#18263leizhiyuan wants to merge 3 commits into
Conversation
|
maybe we should use GetStatsOptions next pr, not original name like getPreciseBacklog,subscriptionBacklogSize etc. |
|
@leizhiyuan Please add the following content to your PR description and select a checkbox: |
|
There is a failed broker test in your https://github.com/leizhiyuan/pulsar/pull/4 : if it is caused by your change please fix it. |
https://github.com/leizhiyuan/pulsar/pull/5 I didn't sync the master branch ,now I opened a new pr |
Add some case seems be flaky, It is not related with the pr, I ran ok in my machine。 |
|
/pulsarbot run-failure-checks |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #18263 +/- ##
============================================
+ Coverage 38.84% 44.64% +5.79%
- Complexity 8286 11126 +2840
============================================
Files 683 758 +75
Lines 67323 78690 +11367
Branches 7215 9189 +1974
============================================
+ Hits 26152 35131 +8979
- Misses 38210 39679 +1469
- Partials 2961 3880 +919
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
nodece
left a comment
There was a problem hiding this comment.
LGTM, I left some comments. Please help to confirm.
|
The pr had no activity for 30 days, mark with Stale label. |
|
@leizhiyuan could you please merge the |
|
The pr had no activity for 30 days, mark with Stale label. |
|
@leizhiyuan could you please rebase master and take a look at the failed tests? |
|
The pr had no activity for 30 days, mark with Stale label. |
|
please rebase. |
|
related to #23380 |
|
It's been too long (2 years) since the pull request. I can't even remember some of the code at that time. I will close this PR. |

Fixes #18240
Master Issue: #18240
Motivation
Modifications
add a flag getTotalNonContiguousDeletedMessagesRange to allow users can skip the non-continued deleted ranges stats
Verifying this change
https://github.com/leizhiyuan/pulsar/pull/5
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: