Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug] RawReader.getMessageId should return the messageId of the last committed message #21456

Open
1 of 2 tasks
coderzc opened this issue Oct 27, 2023 · 0 comments
Open
1 of 2 tasks
Labels
category/reliability The function does not work properly in certain specific environments or failures. e.g. data lost type/bug The PR fixed a bug or issue reported a bug

Comments

@coderzc
Copy link
Member

coderzc commented Oct 27, 2023

Search before asking

  • I searched in the issues and found nothing similar.

Version

master

Minimal reproduce step

  1. Create a RawReader

  2. Send a normal message

  3. Start a transaction and send a transaction message.

  4. Call RawReader.getLastMessageIdAsync

  5. Commit transaction

What did you expect to see?

If the transaction is not committed, getLastMessageId should return the messageId of the last committed/aborted message.

What did you see instead?

Return the messageId of the last uncommitted message.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@coderzc coderzc added type/bug The PR fixed a bug or issue reported a bug category/reliability The function does not work properly in certain specific environments or failures. e.g. data lost labels Oct 27, 2023
@coderzc coderzc changed the title [Bug] getMessageId should return the messageId of the last committed message [Bug] RawReader.getMessageId should return the messageId of the last committed message Oct 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category/reliability The function does not work properly in certain specific environments or failures. e.g. data lost type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

1 participant