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

Re: (ITS#7108) syncrepl loses updates when replica is down

ml+openldap@esmtp.org wrote:
> Full_Name: Claus Assmann
> Version: 2.4.28
> OS: Red Hat Enterprise Linux Server release 5.3
> URL: ftp://ftp.openldap.org/incoming/claus-assmann-111208.patch
> Submission from: (NULL) (
> This is a followup to ITS 7037 which has been fixed in 2.4.28.
> It is the same setup and test -- I've uploaded a "patch" that
> includes the test program (sorry if it doesn't follow all
> the OpenLDAP conventions, I hope it is sufficient to reproduce
> the problem).
> It looks like some changes to the OpenLDAP master are not transferred to the
> replica (the test prg demonstrates that).
> Note: in my test runs it doesn't always fail, but almost all the time.
> Please let me know whether my test is broken or whether there is a problem in
> slapd.

I would consider this test invalid. You're deleting the replica database while 
the consumer is still running. The slapd consumer code assumes that it is the 
only thing that can make changes to a consumer database.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/