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] [client] call redeliver 1 msg but did 2 msgs #23943

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

poorbarcode
Copy link
Contributor

@poorbarcode poorbarcode commented Feb 7, 2025

Motivation

Issue: call redeliver 1 message, but it will redeliver 2 messages, you can reproduce the issue by the new test testBatchMessageNAck

Modifications

fix the bug

Documentation

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

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode added this to the 4.1.0 milestone Feb 7, 2025
@poorbarcode poorbarcode self-assigned this Feb 7, 2025
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 7, 2025
@Technoboy- Technoboy- added ready-to-test and removed doc-not-needed Your PR changes do not impact docs labels Feb 7, 2025
@Technoboy- Technoboy- closed this Feb 7, 2025
@Technoboy- Technoboy- reopened this Feb 7, 2025
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 7, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.25%. Comparing base (bbc6224) to head (bfa194c).
Report is 887 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23943      +/-   ##
============================================
+ Coverage     73.57%   74.25%   +0.68%     
+ Complexity    32624     2375   -30249     
============================================
  Files          1877     1853      -24     
  Lines        139502   143735    +4233     
  Branches      15299    16334    +1035     
============================================
+ Hits         102638   106730    +4092     
+ Misses        28908    28596     -312     
- Partials       7956     8409     +453     
Flag Coverage Δ
inttests 26.71% <9.09%> (+2.13%) ⬆️
systests 23.21% <9.09%> (-1.12%) ⬇️
unittests 73.76% <100.00%> (+0.91%) ⬆️

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

Files with missing lines Coverage Δ
...va/org/apache/pulsar/client/impl/ConsumerImpl.java 79.44% <100.00%> (+1.87%) ⬆️
...n/util/collections/GrowableArrayBlockingQueue.java 97.00% <100.00%> (+1.56%) ⬆️

... and 1036 files with indirect coverage changes

@poorbarcode poorbarcode merged commit 7a79c78 into apache:master Feb 10, 2025
52 checks passed
BewareMyPower pushed a commit that referenced this pull request Feb 10, 2025
poorbarcode added a commit that referenced this pull request Feb 11, 2025
poorbarcode added a commit that referenced this pull request Feb 11, 2025
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Feb 11, 2025
hanmz pushed a commit to hanmz/pulsar that referenced this pull request Feb 12, 2025
@nodece
Copy link
Member

nodece commented Feb 12, 2025

@poorbarcode Could you fix the build error on the branch-3.0?

import static com.google.common.base.Preconditions.checkState;

This import is not used.

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.

8 participants