-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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] Seek on a timestamp causes the subscription to be resetted to the earliest position. #23910
Comments
@Gilthoniel Thanks for reporting this issue. The change added in #22792 can be disabled by configuring Do you have a chance to test if the problem reproduces with 4.0.2 with this configuration? |
@lhotari thanks, it indeed works properly with v4.0.2 when using |
Thanks for confirming. I have updated the release notes with information about this regression and how to apply the workaround: https://github.com/apache/pulsar/releases/tag/v4.0.2 . It will soon be published in https://pulsar.apache.org/release-notes/versioned/pulsar-4.0.2/ .
|
Search before asking
Read release policy
Version
Pulsar v4.0.2
Pulsar Go client v0.14
Minimal reproduce step
With v4.0.2, after restarting brokers, we observe a wrong position in subscription after a seek by timestamp. The position seems to be the earliest position instead of the next message after the timestamp.
Note that after downgrading to v4.0.1, the seeking position gets back to the proper one so the message after the timestamp.
What did you expect to see?
On a seek by timestamp, we expect the subscription to reset to the next message after the timestamp available in the topic.
What did you see instead?
We observe subscriptions to reset on the earliest position when we use seek by timestamp.
May that be related to #22129 ?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: