(ITS#5378) hot slapcat for slapadd issues with delta-sync

Full_Name: Quanah Gibson-Mount
Version: 2.3.40
OS: NA
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.23.156.219)
If someone is using delta-syncrepl for replication, and does a hot slapcat of a
server, and a change occurs during the slapcat, the resulting LDIF file cannot
be used on a replica. This is because the replica will try to resume from the
CSN in the LDIF file, which is from before the change occurred. Since the
change is in the LDIF file, when the replica contacts the master, it tries to
re-replicate the change (which obviously fails). At that point, the replica is
stuck and unable to progress. The only guaranteed way to get a viable slapcat
when using delta-syncrepl is to put the server being dumped into RO mode or to
stop it.
--Quanah