Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xCluster] DDL Replication - Handle cleanup of colocated_historical_schema_packings for failed source tables #25913

Open
hulien22 opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue xCluster Label for xCluster related issues/improvements

Comments

@hulien22
Copy link
Contributor

hulien22 commented Feb 6, 2025

Jira Link: DB-15225
If a source table fails during creation, we will still get a CMOP with the initial schema - this will be replicated via automatic DDL replication and this initial schema will be stored in colocated_historical_schema_packings.

Typically, this field is cleared upon a successful target table creation, but in this case, there will not be any target creates.. Thus we need some separate cleanup handling function

Need to look into what CMOPs we do receive in these cases, perhaps we can notice the drop and delete the field then.
Also should ensure that repeated colocation ids are handled properly

@hulien22 hulien22 added area/docdb YugabyteDB core features xCluster Label for xCluster related issues/improvements labels Feb 6, 2025
@hulien22 hulien22 self-assigned this Feb 6, 2025
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue labels Feb 6, 2025
@hulien22 hulien22 moved this from To do to In progress in xCluster DDL Replication Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue xCluster Label for xCluster related issues/improvements
Projects
Status: In progress
Development

No branches or pull requests

2 participants