I have a cluster of Postgres BDR that has 2 nodes (multi master replication). I've created a table with auto increment primary key as follow:
create table t1 (id serial primary key, name text);
I've added some values on that table from node1:
insert into t1(name) values('foo');
and now when I try to add another value into this table from node2, I receive that error:
ERROR: duplicate key value violates unique constraint "t1_pkey"
DETAIL: Key (id)=(1) already exists.