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

Re: (ITS#5694) Usage of -w with slapadd breaks delta-syncrepl



--On Tuesday, September 09, 2008 8:50 PM +0200 Pierangelo Masarati 
<ando@sys-net.it> wrote:

> I thuink the issue is related to the fact that slapadd -w uses
> bi_tool_entry_modify() and bi_tool_sync().  However, slapo-accesslog(5)
> does not implement those hooks.  As a consequence, any modification to
> the context entry is not reflected in slapo-accesslog(5).
>
> However, I don't see how this should affect replication, since a
> consistent database, after slapcatt'ing, should generate a ldif with the
> correct contextCSN.  However, if you slapcat before stopping the
> producer, the resulting ldif will not contain the contextCSN, because
> after a fresh slapadd without -w it's kept in memory until the producer
> is stopped.  You should try

It should be possible to restore a working provider/slave relationship from 
a hot slapcat taken at any point in time.

I'll give what you suggested a try, but this is still a serious bug.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration