cockroachdb / cockroachdb/cockroach

changefeedccl: ALTER CHANGEFEED does not create a PTS record on new targets

Open
#142,369 3 comments 0 reactions 0 assignees View on GitHub
A-cdc branch-release-23.2 branch-release-24.1 branch-release-24.3 branch-release-25.1 branch-release-25.2 C-bug T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

ALTER CHANGEFEED copies the old PTS record (as of #103868) but it doesn't create a new PTS record to include any newly added targets. This means the ALTER CHANGEFEED could succeed even if a CREATE CHANGEFEED for the same tables would fail due to a failure to protect its targets.

Jira issue: CRDB-48295

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.