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

sql: add goroutine_id to show sessions #118644

Merged
merged 1 commit into from Feb 6, 2024

Conversation

maryliag
Copy link
Contributor

@maryliag maryliag commented Feb 2, 2024

Add the column goroutine_id to the result of SHOW SESSIONS. Also adding the column to the views:
crdb_internal.node_sessions and crdb_internal.cluster_sessions.

Fixes #117625

Release note (sql change): Add column goroutine_id to the response of the SHOW SESSIONS command.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@maryliag maryliag force-pushed the session-goroutine branch 3 times, most recently from d584972 to c9f1b51 Compare February 6, 2024 18:35
@maryliag maryliag marked this pull request as ready for review February 6, 2024 18:35
@maryliag maryliag requested review from a team as code owners February 6, 2024 18:35
@maryliag maryliag requested review from abarganier and a team and removed request for a team February 6, 2024 18:35
Add the column goroutine_id to the result of `SHOW SESSIONS`.
Also adding the column to the views:
`crdb_internal.node_sessions` and `crdb_internal.cluster_sessions`.

Fixes cockroachdb#117625

Release note (sql change): Add column `goroutine_id` to the
response of the `SHOW SESSIONS` command.
Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

lgtm! nice work

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

@maryliag
Copy link
Contributor Author

maryliag commented Feb 6, 2024

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Feb 6, 2024

Build succeeded:

@craig craig bot merged commit 47a68b5 into cockroachdb:master Feb 6, 2024
8 of 9 checks passed
@maryliag maryliag deleted the session-goroutine branch February 7, 2024 03:44
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.

sql: SHOW SESSIONS exposes traceID and goroutineID
3 participants