Syncrepl has deleted over 50%

Nacho Díaz Asenjo <[email protected]> Thu, 20 May 2010 12:09:38 +0200
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--------------010104000801050704070101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

    Syncrepl has decided make a cleaner in my consumer  this night. In 
aprox. 2 hours it has deleted over 50% of my directory ... of course 
it's a wrong, but i havent't idea about why.

    I have installed Openldap 2.4.19 in my producer (master) and in my 
consumer (slave).

   My config:
    syncrepl rid=001
    provider=ldap://xxxxxxx
    type=refreshAndPersist
    searchbase="o=xxxxxx"
    schemachecking=off
    attrs="*,+"
    retry="30 10 600 20"
    binddn="uid=syncrepl,o=xxxxx"
    credentials=xxxx


   In log file


First ... about 1 hour ..

May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY)
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 be_search (0)
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 
uid=600000790,ou=UNIVERSIDAD DE 
MAYORES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es
May 20 03:32:06 ldap03 slapd[29549]: slap_queue_csn: queing 0x293d230 
20100520013206.383048Z#000000#000#000000
May 20 03:32:06 ldap03 slapd[29549]: slap_graduate_commit_csn: removing 
0x6595bd0 20100520013206.383048Z#000000#000#000000
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 be_modify 
uid=600000790,ou=UNIVERSIDAD DE 
MAYORES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es (0)
May 20 03:32:06 ldap03 slapd[29549]: slap_queue_csn: queing 0x293d230 
20100520013206.383048Z#000000#000#000000
May 20 03:32:06 ldap03 slapd[29549]: slap_graduate_commit_csn: removing 
0x3c143f0 20100520013206.383048Z#000000#000#000000
May 20 03:32:06 ldap03 slapd[29549]: do_syncrep2: 
cookie=rid=001,csn=20100520013206.700191Z#000000#000#000000
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY)
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 be_search (0)
May 20 03:32:06 ldap03 slapd[29549]: syncrepl_entry: rid=001 
uid=600000819,ou=UNIVERSIDAD DE 
MAYORES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es
May 20 03:32:06 ldap03 slapd[29549]: slap_queue_csn: queing 
0x7f91a1614170 20100520013206.700191Z#000000#000#000000


Later  ... deleting

May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete 
uid=cmromo,ou=Receptores,ou=proyectos_gerencia_2010,ou=Grupos,o=Universidad 
Carlos III,c=es (0)
May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete uid=cmromo,ou=Receptores,ou=resad.pa,ou=Grupos,o=Universidad 
Carlos III,c=es (0)
May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete uid=cmromo,ou=Emisores,ou=resad.pa,ou=Grupos,o=Universidad 
Carlos III,c=es (0)
May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete 
uid=fjpsanch,ou=Receptores,ou=sl-audiovisuales,ou=Grupos,o=Universidad 
Carlos III,c=es (0)
May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete 
uid=fjpsanch,ou=Receptores,ou=audiovisuales,ou=Grupos,o=Universidad 
Carlos III,c=es (0)
May 20 03:50:54 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete 
uid=dsmontero,ou=Receptores,ou=juntaeps,ou=Grupos,o=Universidad Carlos 
III,c=es (0)
May 20 03:50:55 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete 
[email protected],ou=Receptores,ou=giaa,ou=Grupos,o=Universidad Carlos 
III,c=es (0)
May 20 03:50:55 ldap03 slapd[29549]: syncrepl_del_nonpresent: rid=001 
be_delete [email protected],ou=Externos,o=Universidad Carlos 
III,c=es (0)


Thanks

--------------010104000801050704070101
Content-Type: text/x-vcard; charset=utf-8;
 name="nacho.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="nacho.vcf"

begin:vcard
fn;quoted-printable:Nacho D=C3=ADaz Asenjo
n;quoted-printable:D=C3=ADaz Asenjo;Nacho
org;quoted-printable:Universidad Carlos III;Servicio de Inform=C3=A1tica
email;internet:[email protected]
title;quoted-printable:Sistemas Centrales Legan=C3=A9s
x-mozilla-html:TRUE
version:2.1
end:vcard


--------------010104000801050704070101--