openldap-software May 2010 archive
Main Archive Page > Month Archives  > openldap-software archives
openldap-software: Syncrepl has deleted over 50%

Syncrepl has deleted over 50%

From: Nacho Díaz Asenjo <nacho_at_nospam>
Date: Thu May 20 2010 - 10:09:38 GMT
To: Lista OpenLDAP <openldap-software@openldap.org>

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
uid=benguigui82@hotmail.com,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 uid=benguigui82@hotmail.com,ou=Externos,o=Universidad Carlos
III,c=es (0)

Thanks