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][broker] Fix retry backoff for PersistentDispatcherMultipleConsumers #23284

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Sep 11, 2024

Motivation

#23226 introduced a regression since the test coverage was missing for PersistentDispatcherMultipleConsumers.
It causes a performance regression since a backoff is introduced for all calls.

Modifications

  • fix the issue of setting lastNumberOfEntriesDispatched
  • modify the existing test backoff test so that it's also used for PersistentDispatcherMultipleConsumers

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 4.0.0 milestone Sep 11, 2024
@lhotari lhotari self-assigned this Sep 11, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 11, 2024
coderzc
coderzc previously approved these changes Sep 11, 2024
@lhotari lhotari changed the title [fix][broker] Fix lastNumberOfEntriesDispatched for PersistentDispatcherMultipleConsumers [fix][broker] Fix retry backoff for PersistentDispatcherMultipleConsumers Sep 11, 2024
@coderzc coderzc dismissed their stale review September 11, 2024 08:58

Review test

@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.50%. Comparing base (bbc6224) to head (5fbb510).
Report is 576 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23284      +/-   ##
============================================
+ Coverage     73.57%   74.50%   +0.93%     
- Complexity    32624    33761    +1137     
============================================
  Files          1877     1926      +49     
  Lines        139502   145040    +5538     
  Branches      15299    15857     +558     
============================================
+ Hits         102638   108062    +5424     
+ Misses        28908    28697     -211     
- Partials       7956     8281     +325     
Flag Coverage Δ
inttests 27.71% <75.00%> (+3.12%) ⬆️
systests 24.63% <75.00%> (+0.30%) ⬆️
unittests 73.87% <100.00%> (+1.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...sistent/PersistentDispatcherMultipleConsumers.java 74.74% <100.00%> (+0.41%) ⬆️

... and 555 files with indirect coverage changes

@lhotari lhotari merged commit 8151639 into apache:master Sep 11, 2024
51 checks passed
lhotari added a commit that referenced this pull request Sep 11, 2024
lhotari added a commit that referenced this pull request Sep 11, 2024
michalcukierman pushed a commit to michalcukierman/pulsar that referenced this pull request Sep 11, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 12, 2024
…mers (apache#23284)

(cherry picked from commit 8151639)
(cherry picked from commit d9598b5)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 12, 2024
…mers (apache#23284)

(cherry picked from commit 8151639)
(cherry picked from commit d9598b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants