cockroachdb / cockroachdb/cockroach

cdc: alter changefeed to add a table can hit boundary timestamps from before the alter statement

Open
#99,040 2 comments 1 reaction 0 assignees View on GitHub
A-cdc C-bug O-support P-3 T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

See https://github.com/cockroachlabs/support/issues/2127

ALTER CHANGEFEED to add a table to an existing changefeed should add it as of the ALTER statement, and therefore should not hit boundaries from before that timestamp.

Jira issue: CRDB-25676

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ALTER CHANGEFEED scenario described in support issue 2127, then trace the changefeed ALTER handling and timestamp-boundary behavior. Done means a newly added table begins at the ALTER statement timestamp and does not encounter boundaries from before that timestamp.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.