[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6926) Delta-Sync produce undefined situation after split-brain



Full_Name: Sascha Kuehndel
Version: 2.4.25
OS: HP-UX 11.31
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.166.104.102)


Hi,

i tested the delta-sync in a multi-master (2 master) architecture.
In a split-brain szenario the sync produced an undefinded state.
Some times the data wasn't synchronized (both master hold there data unchanged),
sometimes the data was fliped (master1 take data from master2, and master2 from
master1).

A defined and synchronized state must reached after the end of the split-brain.

Senario:
1. master1 and master2 runs in sync
2. shutdown of master2
3. data change on master1
4. shutdown of  master1
5. start of master2
6. data change on master2 (the same attribute on the same object, other value)
   > now the masters are out of sync in the same field
7. restart of master1
8. the sync process is running
9. take a look on the change field.. there are different

regards
Sascha Kuehndel

PS - Nice to have: 
The posibility to define the action in thouch an situation
- master1 or master2... wins
- the newest win
- or no change
and the posibility to write a log-entry about it (with the exact dn,the
attribute and the values before the synchronization)