[xCluster] Investigate if the consumer can GC away packing schemas still needed by incoming data from the producer #17308
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-6532
Description
When we replicate DML operations from the producer to the consumer, we rewrite the packing schema version in the payloads to reference an equivalent packing schema.
This task is to figure out if it is possible for the consumer to GC away the old packing schema that corresponds to incoming producer DML's packing schemas.
There is an interlock so the consumer should not GC packing schemas currently present in its RocksDB's, but it's not clear there is an interlock versus yet to arrive producer DML's.
I assume if we can't find an equivalent packing schema we have to drop the DML's or pause replication, so this is a possible data loss problem so likely quite serious if it occurs.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: