Skip to content

Conversation

@merlimat
Copy link
Contributor

Motivation

When the topic is empty, the Reader.hasMessageAvailable() can return incorrect results if the reader is started on latest. The main issue is that we are not associating the last message in topic with the "real" position of the reader.

@sijie sijie added area/client java type/bug The PR fixed a bug or issue reported a bug labels Jan 26, 2021
@sijie sijie added this to the 2.8.0 milestone Jan 26, 2021
@wolfstudy
Copy link
Member

/pulsarbot run-failure-checks

4 similar comments
@jerrypeng
Copy link
Contributor

/pulsarbot run-failure-checks

@jerrypeng
Copy link
Contributor

/pulsarbot run-failure-checks

@jerrypeng
Copy link
Contributor

/pulsarbot run-failure-checks

@jerrypeng
Copy link
Contributor

/pulsarbot run-failure-checks

@merlimat
Copy link
Contributor Author

Fixed in #9652

@merlimat merlimat deleted the fix-has-message-available branch February 20, 2021 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/client release/2.7.1 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants