[xCluster] DDL Replication - Handle cleanup of colocated_historical_schema_packings for failed source tables #25913
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
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
The text was updated successfully, but these errors were encountered: