cockroachdb / cockroachdb/cockroach

DB-Level Changefeed: Handle dropped or newly added tables by removing or creating corresponding PTS records

Open
#147,791 4 comments 0 reactions 0 assignees View on GitHub
A-cdc branch-release-25.4 C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Newly added or removed tables should not wait until the highwater advances to update PTS but do this on changefeed restart. Include this in the PTS logic that happens on changefeed restart, just like converting between the old and new (per-table) format. Note that adding or removing tables should always cause a restart by design.

Epic: [CRDB-1421](https://cockroachlabs.atlassian.net/browse/CRDB-1421)

Jira issue: CRDB-51242

Epic CRDB-1421

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.