hi,I have a problem inserting the sequence when viewing bidirectional replication.
hebusy opened this issue · comments
Specific operation: I created a table
create table tb3(id serial primary key, name int);
on both sides of the two-way replication, added the tables to the databases at both ends and added them to the replication set, and then added sequence (tb3_id_seq) to both ends. database into the replication set, then insert data
insert into tb3(name) values(1);
in database A, perform the same insert data operation in database B, and execute
select nextval('tb3_id_seq');
and thenThere is a problem. The value of tb3_id_seq has increased a lot. It seems that tb3_id_seq has been copied between the two databases. What is the situation?