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-2.1: pgwire: detect, log, and immediately close any cancel requests #33246

Merged
merged 1 commit into from Dec 19, 2018
Merged

release-2.1: pgwire: detect, log, and immediately close any cancel requests #33246

merged 1 commit into from Dec 19, 2018

Conversation

maddyblue
Copy link
Contributor

Backport 1/1 commits from #33202.

/cc @cockroachdb/release


Previously the cmuxer would not detect pgwire cancel requests as pgwire
and instead hand them off to GRPC causing them to hang. We still don't
support cancel, but it should be handled better by clients now.

Fixes #32973

Release note (bug fix): Cancel requests (via the pgwire protocol) will
now close quickly with an EOF instead of hang (but still don't cancel
the request).

Previously the cmuxer would not detect pgwire cancel requests as pgwire
and instead hand them off to GRPC causing them to hang. We still don't
support cancel, but it should be handled better by clients now.

Fixes #32973

Release note (bug fix): Cancel requests (via the pgwire protocol) will
now close quickly with an EOF instead of hang (but still don't cancel
the request).
@maddyblue maddyblue requested review from knz and a team December 18, 2018 19:59
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@maddyblue maddyblue merged commit 9315d52 into cockroachdb:release-2.1 Dec 19, 2018
@maddyblue maddyblue deleted the backport2.1-33202 branch December 19, 2018 18:40
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.

None yet

3 participants