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

feat: handle h2 go-away from server for topic stream #151

Merged
merged 6 commits into from
Feb 22, 2023

Conversation

eaddingtonwhite
Copy link
Member

@eaddingtonwhite eaddingtonwhite commented Feb 17, 2023

Closes #74

momento/topic_subscription.go Show resolved Hide resolved
momento/topic_subscription.go Outdated Show resolved Hide resolved
# Conflicts:
#	momento/pub_sub_test.go
case *pb.XSubscriptionItem_Heartbeat:
continue
default:
// Ignore unknown responses, so we don't stop polling if we add a new message.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a ticket to log something at debug for these two cases

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just made this ticket #157

I agree should at least log warning

momento/topic_subscription.go Show resolved Hide resolved
@eaddingtonwhite eaddingtonwhite merged commit ae91459 into main Feb 22, 2023
@eaddingtonwhite eaddingtonwhite deleted the feat/retry-streams-for-h2-goaways branch February 22, 2023 01:54
cprice404 pushed a commit that referenced this pull request Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle Idle Connection timeout and End of Stream errors as happy path for streams
5 participants