Skip to content

Handle gRPC deadline exceeded as well#164

Merged
mattayes merged 1 commit intomasterfrom
gird-actor-startup-register-deadline-exceeded-redux
Jun 26, 2021
Merged

Handle gRPC deadline exceeded as well#164
mattayes merged 1 commit intomasterfrom
gird-actor-startup-register-deadline-exceeded-redux

Conversation

@mattayes
Copy link
Copy Markdown
Contributor

@mattayes mattayes commented Jun 26, 2021

Ticket: lytics/lio#24378

I forgot that when gRPC experiences a deadline exceeded it doesn't return context.DeadlineExceeded: it returns codes.DeadlineExceeded inside the error.

This should probably fix our `can't register: already registered" issues (though it may lead to a ton of panics, which at least isn't a silent failure).

@mattayes mattayes self-assigned this Jun 26, 2021
Copy link
Copy Markdown
Contributor

@epsniff epsniff left a comment

Choose a reason for hiding this comment

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

Oh shit... This makes me happy that we haven't bottomed out one finding a solution.

@mattayes mattayes merged commit 267946a into master Jun 26, 2021
@mattayes mattayes deleted the gird-actor-startup-register-deadline-exceeded-redux branch June 26, 2021 05:14
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.

4 participants