cockroachdb / cockroachdb/cockroach

changefeedccl: add roachtest that does random schema changes

Open
#152,870 3 comments 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

In order to build more confidence that changefeeds handle schema changes properly (including when `schema_locked` is on), we should add a roachtest that runs a changefeed for a long period (e.g. 1 hour) and does random combinations of schema changes and verifies that the output matches what we would expect.

Alternatively, we could consider enhancing `TestChangefeedNemeses` to do more types of schema changes (currently it only does ADD/DROP COLUMN).

Jira issue: CRDB-54098

Epic CRDB-59205

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.