Hi
We've one problem with replication field autoincrement (Mysql 5.6).
Our configuration have one replication circular between two nodes.
Node 1:
auto_increment_increment=2
auto_increment_offset=1
Node 2:
auto_increment_increment=2
auto_increment_offset=2
With this configuration we solve problems of duplicated key, but we've gaps in certain cases.
Example:
insert in node 1. Id: 1
insert in node 1. Id: 3
insert in node 1. Id: 5
insert in node 2. Id: 6
After of each replication the system update the autoincrement of item in every node and we've gaps.
Is it correct? Exists some way of solving it?
Thanks
We've one problem with replication field autoincrement (Mysql 5.6).
Our configuration have one replication circular between two nodes.
Node 1:
auto_increment_increment=2
auto_increment_offset=1
Node 2:
auto_increment_increment=2
auto_increment_offset=2
With this configuration we solve problems of duplicated key, but we've gaps in certain cases.
Example:
insert in node 1. Id: 1
insert in node 1. Id: 3
insert in node 1. Id: 5
insert in node 2. Id: 6
After of each replication the system update the autoincrement of item in every node and we've gaps.
Is it correct? Exists some way of solving it?
Thanks