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

(ITS#5532) incorrect timestamp of slapd replica log

Full_Name: Zhao Hai
Version: 2.3.41
OS: Linux 2.4.21 arm
URL: ftp://ftp.openldap.org/incoming/zhaohai-080527.patch
Submission from: (NULL) (

race condition makes incorrect timestamp in replogfile, cause certain
modification of entries not replicate to slurp slaves.

time: 1211855467
      ^^^^^^^^^^ this timestamp 

How to reproduce the problem:
1) run under very slow machines (my environ: arm 266MHz)
2) slapd is configed to generate replogfile
3) ldapadd about 5 entries, then ldapmodify 2 entries without delay.

Please look the attached patch. It works for me.