[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) (205.209.140.4)


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

replica: 180.0.10.2:1234
replica: 180.0.10.3:1234
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.

Patch:
Please look the attached patch. It works for me.