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

[Bug] When CK is in the buffer, incomplete ACK will lead to message duplication. #8835

Closed
3 tasks done
GenerousMan opened this issue Oct 17, 2024 · 0 comments · Fixed by #8836
Closed
3 tasks done

Comments

@GenerousMan
Copy link
Contributor

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

ubuntu, java 11

RocketMQ version

latest

JDK Version

No response

Describe the Bug

When ck is in the buffer, incomplete ack will lead to message duplication.

Steps to Reproduce

pop N messages, then ACK N-1 messages quickly.
Ack the last message after the CK is put to store.
Then you will find the N-1 messages do "reviveRetry", leads to message duplication

What Did You Expect to See?

No messages are retried.

What Did You See Instead?

message duplication

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant