Skip to content

cdc: Changefeed fail when upgrading to 23.1.x #106358

@miretskiy

Description

@miretskiy

#99841 introduced logic to changefeed
resume to verify that the changefeed job record has the cluster ID matching the ID of the
node running changefeed. This was added to ensure that if we fully restore from backup,
or in case of physical replication, that the changefeed jobs does not automatically
start execution in the new cluster (this is dangerous and likely very undesirable).

Unfortunately, the logic is faulty since it will fail any changefeed created prior to 23.1 since
the check was lacking version gate.

Jira issue: CRDB-29526

Epic CRDB-11783

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cdcChange Data CaptureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docsT-cdcbackport-23.1.xPAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request onlyv23.1.9

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions