[fix][client] Consumer lost message ack due to race condition in acknowledge with batch message#22353
Merged
lhotari merged 8 commits intoapache:masterfrom Mar 27, 2024
Merged
Conversation
3 tasks
lhotari
reviewed
Mar 26, 2024
poorbarcode
reviewed
Mar 26, 2024
BewareMyPower
requested changes
Mar 26, 2024
BewareMyPower
previously approved these changes
Mar 26, 2024
Contributor
BewareMyPower
left a comment
There was a problem hiding this comment.
It would be better to update the API documentation as well. We must note that any read or modification on the return value of MessageIdAdv#getAckSet() should be synchronized on the lock as well.
It should be comments rather than approved
…geIdAdv.java Co-authored-by: Yunze Xu <xyzinfernity@163.com>
BewareMyPower
approved these changes
Mar 26, 2024
lhotari
reviewed
Mar 26, 2024
Member
lhotari
left a comment
There was a problem hiding this comment.
I have some questions about the test case.
lhotari
approved these changes
Mar 26, 2024
Contributor
Author
|
/pulsarbot rerun-failure-checks |
Contributor
Author
|
Thank you for review and suggestions. @lhotari @BewareMyPower @poorbarcode |
Technoboy-
pushed a commit
to Technoboy-/pulsar
that referenced
this pull request
Apr 1, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn>
mukesh-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Apr 15, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn> (cherry picked from commit 3fa2ae8) (cherry picked from commit 9c50d18)
mukesh-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Apr 17, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn> (cherry picked from commit 3fa2ae8) (cherry picked from commit 9c50d18)
mukesh-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Apr 17, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn> (cherry picked from commit 3fa2ae8) (cherry picked from commit 9c50d18)
mukesh-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Apr 19, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn> (cherry picked from commit 3fa2ae8) (cherry picked from commit 9c50d18)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Apr 23, 2024
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn> (cherry picked from commit 3fa2ae8) (cherry picked from commit 9c50d18)
2 tasks
hanmz
pushed a commit
to hanmz/pulsar
that referenced
this pull request
Feb 12, 2025
…owledge with batch message (apache#22353) Co-authored-by: Yunze Xu <xyzinfernity@163.com> Co-authored-by: 汪苏诚 <sucheng.wang@zhaopin.com.cn>
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Fixes #22352
Modifications
Add synchronize protection on bitset operations acknowledge with batch message
Verifying this change
This change added tests and can be verified as follows:
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: Shawyeok#15