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: remove connExecutor.eventLog and sql.trace.session_eventlog.enabled #117928

Merged

Conversation

petermattis
Copy link
Collaborator

The connExecutor.eventLog was capturing session events when sql.trace.session_eventlog.enabled was enabled (default false). This was historically used by SQL engineers for debugging the pgwire connection state machine, but is not in current use.

Epic: none
Release note (sql change): Remove sql.trace.session_eventlog.enabled and the associated event log tracing. The information in these traces is still available in the DEV log channel by enabling --vmodule=conn_executor=2.

@petermattis petermattis requested a review from a team as a code owner January 18, 2024 17:54
@petermattis petermattis requested review from rharding6373 and removed request for a team January 18, 2024 17:54
Copy link

blathers-crl bot commented Jan 18, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@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.

:lgtm: Thanks!

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rharding6373)

@petermattis
Copy link
Collaborator Author

@mgartner or someone else from @cockroachdb/sql-queries, can you also give this a stamp of approval?

@yuzefovich
Copy link
Member

I'm a member of SQL Queries, does my approval not count? :) Perhaps we should get a sign off from @rafiss or someone in @cockroachdb/sql-foundations.

The `connExecutor.eventLog` was capturing session events when
`sql.trace.session_eventlog.enabled` was enabled (default false). This was
historically used by SQL engineers for debugging the pgwire connection state
machine, but is not in current use.

Epic: none

Release note (sql change): Remove sql.trace.session_eventlog.enabled and the
associated event log tracing. The information in these traces is still
available in the DEV log channel by enabling --vmodule=conn_executor=2.
@petermattis
Copy link
Collaborator Author

I'm a member of SQL Queries, does my approval not count? :) Perhaps we should get a sign off from @rafiss or someone in @cockroachdb/sql-foundations.

Oh, it sure does. Brain fart about team membership there.

@rafiss

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.

thank you!

Reviewed 3 of 3 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @rharding6373)

@petermattis
Copy link
Collaborator Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 19, 2024

Build succeeded:

@craig craig bot merged commit ff9de6a into cockroachdb:master Jan 19, 2024
9 checks passed
@petermattis petermattis deleted the pmattis/conn-executor-eventlog branch January 23, 2024 16:40
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

4 participants