[Date Prev][Date Next]
Patch for enabling Multi Master servers (ITS#170)
Full_Name: Philipp Klaus
Submission from: (NULL) (18.104.22.168)
OpenLDAP release 1.2.1 wasn't able to handle situations where multi servers
accept write statements and distribute them to all other servers (for failover
capabilities in write commands too).
A quick look at the code showed that for each change (add, delete, modify)
record is written to the replica log file if a replica statement exists in the
configuration file. I changed this so that the log file record is only written
the write command was NOT submitted by the replication user.
This has the drawback that multi-level replication isn't possible anymore but
is of no value for me because the replication is only used for enabling high
availability (clustering) on our site.
All changes are ifdef'ed by _INA_MULTI_MASTER so compiling without the changes
I suggest including the patch with the (probably renamed) ifdefs in place so
multi-master capabilities are a compile time option.
All code is given to the open source community free of charge.