[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7498) Openldap syncrepl issue

Full_Name: Arunkumar shanmugam
Version: 2.4.33
OS: rhel5
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I've been having issues with syncrepl in openldap. This is plain 
syncrepl. I'm not using delta-syncrepl as I run with mirror mode on.

I've noticed that when there are a large number of writes on the 
writemaster (Typically around 10 per second) the data on the readslave 
goes out of sync with the master, typically having entries which have 
been deleted on the master. The contextCSNs on both the readslaves and 
writemaster match eventually, but the data doesn't. I'm running the 
readslave in refreshOnly mode with an interval of 1 minute. I'm using a 
reasonably large DB of size ~ 2 GB. I turned on the sync logs and found 
lots of entries with "nonpresent_callback" and "syncrepl_del_nonpresent".

Tested this and found it occurring in both 2.4.29 and 2.4.33 (Latest as 
of this time), and with BDB 4.2.36 as the backend.

I was wondering if anyone has faced similar issues before, and if there 
exists a solution to this problem. I will send any relevant 
configuration and log snippets as needed.