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: Committer stuck in retry loop on shutdown #1062

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

tmdiep
Copy link
Collaborator

@tmdiep tmdiep commented Feb 13, 2022

Close the partition subscriber factory (which contains the client stubs) last. If the Committer has a pending commit, it will try to send it before shutdown. The commit stream will repeatedly fail to reconnect with error "UNAVAILABLE: Channel shutdown invoked" and cause shutdown to hang.

Internal: b/218984062.

@tmdiep tmdiep requested a review from a team as a code owner February 13, 2022 21:46
@product-auto-label product-auto-label bot added the api: pubsublite Issues related to the googleapis/java-pubsublite API. label Feb 13, 2022
@tmdiep tmdiep added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 14, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 14, 2022
@tmdiep tmdiep merged commit cbad789 into googleapis:main Feb 14, 2022
@tmdiep tmdiep deleted the committer_shutdown branch February 14, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the googleapis/java-pubsublite API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants