Conflict resolution on Syncrepl

2011-02-16 Thread Diego Lima
Hello all, This is mostly a theoretical question. I currently have some OpenLDAP multimaster clusters (using syncrepl and mirrormode) and although it never happened before, what would happen if two (or more) masters received a write request exactly at the same time? The entry would have the same

Re: Conflict resolution on Syncrepl

2011-02-16 Thread Quanah Gibson-Mount
--On Wednesday, February 16, 2011 9:22 PM -0200 Diego Lima li...@diegolima.org wrote: Hello all, This is mostly a theoretical question. I currently have some OpenLDAP multimaster clusters (using syncrepl and mirrormode) and although it never happened before, what would happen if two (or more)

Re: Conflict resolution on Syncrepl

2011-02-16 Thread Howard Chu
Diego Lima wrote: Hello all, This is mostly a theoretical question. I currently have some OpenLDAP multimaster clusters (using syncrepl and mirrormode) and although it never happened before, what would happen if two (or more) masters received a write request exactly at the same time? The entry

Re: Conflict resolution on Syncrepl

2011-02-16 Thread Diego Lima
No. On a properly configured setup it is impossible for two servers to produce the same entryCSN (regardless of timestamp issues) since they each have unique serverIDs. Conflict resolution will always resolve consistently and deterministically in syncrepl. Thanks a lot for your explanation!

Re: Conflict resolution on Syncrepl

2011-02-16 Thread Howard Chu
Diego Lima wrote: No. On a properly configured setup it is impossible for two servers to produce the same entryCSN (regardless of timestamp issues) since they each have unique serverIDs. Conflict resolution will always resolve consistently and deterministically in syncrepl. Thanks a lot for