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

stmtdiagnostics: remove unused JSON trace datum #65583

Merged
merged 1 commit into from
May 22, 2021

Conversation

yuzefovich
Copy link
Member

@yuzefovich yuzefovich commented May 21, 2021

In 2d05a54 we stopped writing JSON
trace datums to the system table, but some remnants of that work still
remained. This commit cleans that up.

Release note: None

@yuzefovich yuzefovich requested a review from RaduBerinde May 21, 2021 22:39
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

Haha, noooooo! You are removing the traces from the bundle, which are super useful. 2d05a54 stopped writing it to the system table, not the bundle.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

Copy link
Member Author

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @yuzefovich)


pkg/sql/explain_bundle.go, line 167 at r1 (raw file):

	b.addDistSQLDiagrams()
	b.addExplainVec()
	traceJSON := b.addTrace()

I see - I need to remove unused local variable traceJSON - my bad, will update shortly.

@yuzefovich yuzefovich changed the title stmtdiagnostics: remove unused JSON trace stmtdiagnostics: remove unused JSON trace datum May 22, 2021
In 2d05a54 we stopped writing JSON
trace datums to the system table, but some remnants of that work still
remained. This commit cleans that up.

Release note: None
Copy link
Member Author

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

Updated, PTAL.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @yuzefovich)

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @yuzefovich)

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented May 22, 2021

Build succeeded:

@craig craig bot merged commit 3cafc38 into cockroachdb:master May 22, 2021
@yuzefovich yuzefovich deleted the stmt-diag branch May 22, 2021 02:39
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