[Bug] RawReader.getMessageId should return the messageId of the last committed message #21456
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
Search before asking
Version
master
Minimal reproduce step
Create a RawReader
Send a normal message
Start a transaction and send a transaction message.
Call RawReader.getLastMessageIdAsync
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?
The text was updated successfully, but these errors were encountered: