[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5694) Usage of -w with slapadd breaks delta-syncrepl
Full_Name: Quanah Gibson-Mount
Version: RE24 9/7/2008
OS: NA
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)
As reported by David Hawes:
http://www.openldap.org/lists/openldap-software/200808/msg00163.html
If you load a server that will become the delta-syncrepl master using slapadd
-w, the slave will not see changes that occur after the accesslog expires.
To confirm this, I did the following:
(a) Created a base LDIF file that set up the suffix, a people tree, and a
replica user
(b) slapadded this LDIF file WITHOUT -w on the master
(c) started the master
(d) started the replica
All data was replicated correctly
(e) Stopped the replica
(f) Added 6 users, and then deleted one
(g) waited for the accesslog to expire
(h) started the replica
All data was replicated correctly
(i) did a slapcat of the master
(j) stopped the master and replica
(k) deleted the database on the master and replica
(l) Used slapadd -w to restore my slapcat of 5 users
(m) started the replica, verified the contents were the same
(n) stopped the replica
(o) added a user on the master
(p) waited for the accesslog to expire
(q) started the replica
The user I added was not replicated, and now the databases are inconsistent.