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 ttl_disable_changefeed_replication table storage parameter #119611

Merged
merged 1 commit into from Feb 28, 2024

Conversation

andyyang890
Copy link
Collaborator

@andyyang890 andyyang890 commented Feb 24, 2024

This patch adds a new ttl_disable_changefeed_replication table
storage parameter, which can be used to disable changefeed replication
for row-level TTL on a per-table basis.

Fixes #118849

Release note (sql change): A new ttl_disable_changefeed_replication
table storage parameter has been added and can be used to disable
changefeed replication for row-level TTL on a per-table basis.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@andyyang890 andyyang890 force-pushed the ttl_disable_changefeed branch 3 times, most recently from 2ebd2a1 to b587822 Compare February 24, 2024 03:20
@andyyang890 andyyang890 marked this pull request as ready for review February 24, 2024 03:27
@andyyang890 andyyang890 requested review from a team as code owners February 24, 2024 03:27
@andyyang890 andyyang890 requested review from srosenberg and DarrylWong and removed request for a team February 24, 2024 03:27
Copy link
Contributor

@annrpom annrpom left a comment

Choose a reason for hiding this comment

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

LGTM!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @DarrylWong, @rafiss, @rharding6373, and @srosenberg)

Copy link
Collaborator

@rharding6373 rharding6373 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andyyang890, @DarrylWong, @rafiss, and @srosenberg)


pkg/cmd/roachtest/tests/cdc_filtering.go line 360 at r1 (raw file):

			require.NoError(t, err)
		case ttlFilteringTableStorageParam:
			t.Status("set ttl_disable_changefeed_replication")

nit: Could you add the table name to the status?

@andyyang890 andyyang890 force-pushed the ttl_disable_changefeed branch 2 times, most recently from bdb224b to 97c6ed9 Compare February 27, 2024 18:59
This patch adds a new `ttl_disable_changefeed_replication` table
storage parameter, which can be used to disable changefeed replication
for row-level TTL on a per-table basis.

Release note (sql change): A new `ttl_disable_changefeed_replication`
table storage parameter has been added and can be used to disable
changefeed replication for row-level TTL on a per-table basis.
@andyyang890
Copy link
Collaborator Author

TFTRs!

bors r=annrpom,rharding6373

@craig
Copy link
Contributor

craig bot commented Feb 28, 2024

Build succeeded:

@craig craig bot merged commit fed7944 into cockroachdb:master Feb 28, 2024
15 of 17 checks passed
@andyyang890 andyyang890 deleted the ttl_disable_changefeed branch February 28, 2024 05:03
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: allow TTL jobs to individually configure CDC filtering
4 participants