-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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(pubsub): do not propagate context deadline exceeded error #3055
Conversation
Upon further investigation, the error seems to be originating from the edit: This is wrong. The |
Interesting, is there anything that needs to change in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'll let Cody Approve the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In certain scenarios (usually on network disconnect but to be fully determined), an unknown
context deadline exceeded
error fromModifyAckDeadline
can shutdown the iterator and cause it to fail. This is usually captured by the case prior todefault
in the switch statement, but sometimes the error is not captured properly. This PR patches the issue so users are not negatively affected.