Skip to content

changefeedccl: Fix timestamp for descriptor fetches during changefeed…#155094

Draft
log-head wants to merge 2 commits intocockroachdb:masterfrom
log-head:log-head/db-level-changefeed-fixed-timestamps
Draft

changefeedccl: Fix timestamp for descriptor fetches during changefeed…#155094
log-head wants to merge 2 commits intocockroachdb:masterfrom
log-head:log-head/db-level-changefeed-fixed-timestamps

Conversation

@log-head
Copy link
Copy Markdown
Contributor

@log-head log-head commented Oct 8, 2025

… creation

When a changefeed is planned and executed, there are several places where target table descriptors are fetched. With a db-level changefeed, the set of tables can change during changefeed startup. Now, the timestamp is set to the initial high water for retrieving table descriptors. Fixes: #154549 Epic: CRDB-1421

Release note: None

… creation

When a changefeed is planned and executed, there are several places
where target table descriptors are fetched. With a db-level changefeed,
the set of tables can change during changefeed startup. Now, the
timestamp is set to the initial high water for retrieving table
descriptors.  Fixes: cockroachdb#154549 Epic: CRDB-1421

Release note: None
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Oct 8, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

…feed test

db-level changefeed test is not passing for fixing timestamp. This
commit is a work in progress to solve that.

Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

changefeedccl: db-level feeds: use fixed timestamp for descriptor fetches

2 participants