[DocDB][xCluster][DDL] Replication halts even if schema matches but the schema was evolved with different steps on source and target #16640
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
qa_itest-system
Bugs identified in itest-system automation
xCluster
Label for xCluster related issues/improvements
Projects
Jira Link: DB-6027
Description
Replication is halted even when schema matches on both source and target.
Version: 2.19.x
Create table at both sides
create table t1(id int primary key, name text);
setup replication and insert some rows and read at target ---- works
At source:
At target:
then alter table at source:
alter table t1 add column c1 text; ----- here type is text
and insert some rows
here data is not replicated --- expected as there is mismatch in schema
then alter table at target
alter table t1 add column c1 int; ------ here type is int
data is not replicated ----- expected
alter at target
here replication is not happened ------ expected as the alter id is different
then alter at source
after this replication should happen as both table has same schema
but it is not happening
Expected: Replication should happen as schemas as compatible but they are not happening.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: