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

release-1.1: server: Don't send pgwire connections to the init GRPC server #22663

Merged
merged 1 commit into from
Feb 26, 2018

Conversation

bdarnell
Copy link
Contributor

PGWire messages do not reliably trigger errors in the HTTP server,
which leads to these connections timing out (which has been observed
to take minutes, depending on the client). Instead, we must always
send pgwire connections to the pgwire server (where they will still
block while the server is uninitialized, but they will be unblocked
as soon as it initializes).

This is a subset of #21682 for release-1.1.

@bdarnell bdarnell requested a review from a team February 13, 2018 20:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@bdarnell bdarnell changed the title server: Don't send pgwire connections to the init GRPC server release-1.1: server: Don't send pgwire connections to the init GRPC server Feb 13, 2018
PGWire messages do not reliably trigger errors in the HTTP server,
which leads to these connections timing out (which has been observed
to take minutes, depending on the client). Instead, we must always
send pgwire connections to the pgwire server (where they will still
block while the server is uninitialized, but they will be unblocked
as soon as it initializes).

This is a subset of cockroachdb#21682 for release-1.1.
@bdarnell
Copy link
Contributor Author

Rebased and added the init_test.go changes from #21682

@bdarnell bdarnell merged commit dfe0cba into cockroachdb:release-1.1 Feb 26, 2018
@bdarnell bdarnell deleted the init-listener branch February 26, 2018 20:00
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.

3 participants