Skip to content

sql: remove redundant ALTER TYPE ... SET SCHEMA event logging#169780

Merged
trunk-io[bot] merged 1 commit intocockroachdb:masterfrom
bghal:alter-type-set-schema-legacy-event-log
May 6, 2026
Merged

sql: remove redundant ALTER TYPE ... SET SCHEMA event logging#169780
trunk-io[bot] merged 1 commit intocockroachdb:masterfrom
bghal:alter-type-set-schema-legacy-event-log

Conversation

@bghal
Copy link
Copy Markdown
Contributor

@bghal bghal commented May 5, 2026

The schemachanger was logging a general alter_type event and a
particular set_schema event. This change removes the duplicative
logging.

Part of: #164216
See: #57741
Supports: #168255
Epic: CRDB-31325

Release note: None

@bghal bghal requested a review from a team as a code owner May 5, 2026 21:20
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 5, 2026

😎 Merged successfully - details.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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.

nice find! i question why we even have a specific set_schema event, but since it was there before, i'm not going to argue for changing it right now.

The schemachanger was logging a general `alter_type` event and a
particular `set_schema` event. This change removes the duplicative
logging.

Part of: cockroachdb#164216
See: cockroachdb#57741
Supports: cockroachdb#168255
Epic: CRDB-31325

Release note: None
@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented May 6, 2026

Detected infrastructure failure (matched: self-hosted runner lost communication with the server). Automatically rerunning failed jobs. (run link)

@bghal
Copy link
Copy Markdown
Contributor Author

bghal commented May 6, 2026

/trunk merge

@trunk-io trunk-io Bot merged commit 1e530e5 into cockroachdb:master May 6, 2026
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants