You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/02/15 20:12:31 UTC
[GitHub] [pulsar] lhotari opened a new issue #6333: Pulsar 2.5.0 regression:
Reader.hasMessageAvailable returns false when startMessageId is the message
id of the last message id in startMessageIdInclusive mode
lhotari opened a new issue #6333: Pulsar 2.5.0 regression: Reader.hasMessageAvailable returns false when startMessageId is the message id of the last message id in startMessageIdInclusive mode
URL: https://github.com/apache/pulsar/issues/6333
**Description**
`Reader.hasMessageAvailable` returns `false` when `startMessageId` is the message id of the last message id in `startMessageIdInclusive` mode.
If the message id is any other id than the id of the last message, there is no issues.
This problem occurs with Pulsar 2.5.0. The test case passes with Pulsar 2.4.2.
**To Reproduce**
Steps to reproduce the behavior:
```
git clone -b has-message-available-2.5.0 https://github.com/lhotari/pulsar-bug-repro
cd pulsar-bug-repro
./gradlew test
```
**To test with Pulsar 2.4.2 (test passes)**
```
git checkout has-message-available-2.4.2
./gradlew cleanTest test
```
**Expected behavior**
When using the Reader API and specifying the message id of the message id of the last message that exists in the topic with startMessageIdInclusive mode, then Reader.hasMessageAvailable should return true.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] lhotari commented on issue #6333: Pulsar 2.5.0 regression:
Reader.hasMessageAvailable returns false when startMessageId is the message
id of the last message id in startMessageIdInclusive mode
Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #6333: Pulsar 2.5.0 regression: Reader.hasMessageAvailable returns false when startMessageId is the message id of the last message id in startMessageIdInclusive mode
URL: https://github.com/apache/pulsar/issues/6333#issuecomment-586637417
When running the test case multiple times, it sometimes passes even on Pulsar 2.5.0. This issue might be related to #6224.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] lhotari edited a comment on issue #6333: Pulsar 2.5.0
regression: Reader.hasMessageAvailable returns false when startMessageId is
the message id of the last message id in startMessageIdInclusive mode
Posted by GitBox <gi...@apache.org>.
lhotari edited a comment on issue #6333: Pulsar 2.5.0 regression: Reader.hasMessageAvailable returns false when startMessageId is the message id of the last message id in startMessageIdInclusive mode
URL: https://github.com/apache/pulsar/issues/6333#issuecomment-586637417
When running the test case multiple times, it sometimes passes even on Pulsar 2.5.0, so there is a flaky nature in this bug. This issue might be related to #6224.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] sijie closed issue #6333: Pulsar 2.5.0 regression:
Reader.hasMessageAvailable returns false when startMessageId is the message
id of the last message id in startMessageIdInclusive mode
Posted by GitBox <gi...@apache.org>.
sijie closed issue #6333: Pulsar 2.5.0 regression: Reader.hasMessageAvailable returns false when startMessageId is the message id of the last message id in startMessageIdInclusive mode
URL: https://github.com/apache/pulsar/issues/6333
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services