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

[vtadmin] Ensure we log any errors when closing the tracer #8262

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

ajm188
Copy link
Contributor

@ajm188 ajm188 commented Jun 4, 2021

Signed-off-by: Andrew Mason amason@slack-corp.com

Description

This is a very small improvement to the current tracing setup in vtadmin. Rather than calling .Close() on the traceCloser directly, we call the wrapper in package trace which logs, and therefore gives us visibility into, errors that happen during the close.

Related Issue(s)

Checklist

  • Tests were added or are not required -- N/A
  • Documentation was added or is not required -- N/A

Deployment Notes

Signed-off-by: Andrew Mason <amason@slack-corp.com>
@ajm188 ajm188 requested a review from doeg June 4, 2021 02:04
@ajm188 ajm188 added this to In progress in VTAdmin via automation Jun 4, 2021
Copy link
Contributor

@doeg doeg left a comment

Choose a reason for hiding this comment

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

image

@ajm188 ajm188 merged commit f53dd15 into vitessio:main Jun 7, 2021
VTAdmin automation moved this from In progress to Done Jun 7, 2021
@ajm188 ajm188 deleted the am_vtadmin_log_trace_close branch June 7, 2021 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants