cockroachdb / cockroachdb/cockroach

cdc: metamorphically inject changefeeds into other tests

Open
#104,799 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement O-qa stability-period T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Capturing thoughts from @miretskiy -- similar to backup/restore in the middle of unrelated tests, whenever a table is created while tests are running (under race?) also create a changefeed into null sink. This shouldn't cause the test to fail.

I also think we should assert that the changefeed doesn't hit a retryable error--permanent errors (e.g. from dropping the table) are fine, but a changefeed into a null sink should never hit an unclassified error.

Jira issue: CRDB-28732

Epic CRDB-9179

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.