Skip to content

chore: capture more informative stack trace in session leak checker #2618

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

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

mbroadst
Copy link
Member

Since we migrated to acquiring a server session lazily the stack traces for the sesson leak checker haven't been very helpful. This patch records the trace from the call to Topology#startSession in order to provide a more high quality trace.

NODE-2880

Since we migrated to acquiring a server session lazily the stack
traces for the sesson leak checker haven't been very helpful. This
patch records the trace from the call to `Topology#startSession` in
order to provide a more high quality trace.

NODE-2880
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

Looks good, small output change request

@mbroadst mbroadst merged commit bd592ec into master Nov 13, 2020
@mbroadst mbroadst deleted the NODE-2880/improve-session-leak-stack-traces branch November 13, 2020 13:52
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