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-19.2: sql: allow pgwire auth methods to specify a cleanup func #49655

Merged
merged 1 commit into from May 28, 2020
Merged

release-19.2: sql: allow pgwire auth methods to specify a cleanup func #49655

merged 1 commit into from May 28, 2020

Conversation

maddyblue
Copy link
Contributor

Backport 1/1 commits from #49572.

/cc @cockroachdb/release


On connection close, some auth methods may need to cleanup resources. Add
a callback for that.

This fixes a bug in the GSS auth method where replay cache file
descriptors were incorrectly kept open after connection close because
the context was not being deleted.

Release note (bug fix): stop leaking file descriptors during GSS
authentication.

On connection close, some auth methods may need to cleanup resources. Add
a callback for that.

This fixes a bug in the GSS auth method where replay cache file
descriptors were incorrectly kept open after connection close because
the context was not being deleted.

Release note (bug fix): stop leaking file descriptors during GSS
authentication.
@maddyblue maddyblue requested a review from knz May 28, 2020 17:54
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@maddyblue maddyblue merged commit 89d6469 into cockroachdb:release-19.2 May 28, 2020
@maddyblue maddyblue deleted the backport-49572-19.2 branch May 28, 2020 19:03
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