OpenLDAP 2.3.40 and 2.4.7.
Testing disaster recovery, such as a bulk update gone wrong, so need to restore from last night's "slapcat" dump (we hardly ever write to the directory, so it's no big deal losing a morning's work).
Delete an entry. Oops, I need it back. Stop the master (and slave), "rm *.bdb __*", "slapadd -nX< slap.out", start the master and slave, check the slave, and the deleted entry has reappeared.
Is this guaranteed behaviour i.e. the slave will always resynchronise in this case, or was I just lucky?
If it makes a difference, we use SyncRepl in "refreshAndPersist" mode.
No. In either mode, the slave still goes through a normal refresh phase first. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/