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

cdc: Put schema change backfill support behind a changefeed option #31213

Closed
mrtracy opened this issue Oct 10, 2018 · 1 comment
Closed

cdc: Put schema change backfill support behind a changefeed option #31213

mrtracy opened this issue Oct 10, 2018 · 1 comment
Labels
A-cdc Change Data Capture C-wishlist A wishlist feature. T-cdc
Milestone

Comments

@mrtracy
Copy link
Contributor

mrtracy commented Oct 10, 2018

Issue #30902 introduced CHANGEFEED support for tables undergoing a schema change backfill. However, once the backfill is complete this will result in an entry being emitted for every row in the table, which may be an exceptional amount of data for a large table.

While we believe this to be the correct implementation, we may want to allow customers to return the previous behavior of stopping the changefeed when a backfill occurs. This would be accomplished by adding a changefeed option.

Jira issue: CRDB-4801

@mrtracy mrtracy added C-wishlist A wishlist feature. A-cdc Change Data Capture labels Oct 10, 2018
@mrtracy mrtracy added this to the Later milestone Oct 10, 2018
@mwang1026 mwang1026 changed the title cdc: Put backfill support behind a changefeed option cdc: Put schema change backfill support behind a changefeed option May 29, 2020
@miretskiy
Copy link
Contributor

schema_change_policy option lets users control this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cdc Change Data Capture C-wishlist A wishlist feature. T-cdc
Projects
None yet
Development

No branches or pull requests

3 participants