Skip to content
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

fix: create inFlightSeek on stream reinitialize #35

Merged
merged 1 commit into from May 12, 2020

Conversation

hannahrogers-google
Copy link
Contributor

When a stream reconnects, a seek request is made on occasion. We need to set an inFlightSeek, otherwise we run into the following permanent error:

https://github.com/googleapis/java-pubsublite/blob/master/google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/internal/wire/SubscriberImpl.java#L211

When a stream reconnects, a seek request is made on occasion.  We need to set an inFlightSeek, otherwise we run into the following permanent error:

https://github.com/googleapis/java-pubsublite/blob/master/google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/internal/wire/SubscriberImpl.java#L211
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 12, 2020
@dpcollins-google dpcollins-google merged commit ba4f5b8 into master May 12, 2020
@anguillanneuf anguillanneuf deleted the hannahrogers-google-patch-2 branch May 18, 2020 20:54
@dpcollins-google dpcollins-google restored the hannahrogers-google-patch-2 branch May 19, 2020 14:12
@anguillanneuf anguillanneuf deleted the hannahrogers-google-patch-2 branch May 21, 2020 17:04
@dpcollins-google dpcollins-google restored the hannahrogers-google-patch-2 branch May 21, 2020 17:47
@dpcollins-google dpcollins-google deleted the hannahrogers-google-patch-2 branch May 21, 2020 18:33
@dpcollins-google dpcollins-google restored the hannahrogers-google-patch-2 branch May 26, 2020 18:38
@anguillanneuf anguillanneuf deleted the hannahrogers-google-patch-2 branch June 5, 2020 18:03
@dpcollins-google dpcollins-google restored the hannahrogers-google-patch-2 branch June 9, 2020 14:12
@anguillanneuf anguillanneuf deleted the hannahrogers-google-patch-2 branch June 11, 2020 19:07
@dpcollins-google dpcollins-google restored the hannahrogers-google-patch-2 branch June 11, 2020 20:00
@chingor13 chingor13 deleted the hannahrogers-google-patch-2 branch April 15, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants