I have server
node and client
node. They do two way synchronization on a table and also both have sync_on_incoming_batch = 1
.
Let say, table structure is (id, name)
.
The scenario is:
server
insert data (1, 'a')
client
insert data (1, 'b')
server
send batch of (1, 'a')
to client
client
send batch of (1, 'b')
to server
server
has data (1, 'b')
and client
has data (1, 'a')
Questions are:
server
received (1, 'b')
, why server
cannot route again the data to client
? It's detected by node_id = -1
in sym_outgoing_batch
on server
. Vice versa on client
.(1, 'b')
in all node.sync_on_incoming_batch
is telling symmetricDs not to route back data to the source node