Hello,

I am testing the replication feature in a multimaster environment replicating into a single database. As stated before, I added serverid to my providers. I just have two providers for test purpose.
I tested mass updates on a provider, stopped my replica during updates, then start again and it's OK, it updates the entries
If I do the same for mass deletes. I deleted 40000 entries while stopping the consumer. My consumer is still with 30000 undeleted entries. I left the consumer for hours, restarting it twice.
It seems there is no regular compare between consumer or provider in such situation. I'll simplify to test in a single provider setup, to see if it works.

All servers are 2.4.23


consumer side. A script is populating the DIT via slapadd first to create the dc entries.

database        bdb
suffix      "dc=fr"

serverid 0x40 ldap://ldapmaitre.univ-yy.fr
syncrepl rid=040
    provider=ldap://ldapmaitre.univ-yy.fr/
    type=refreshAndPersist
    searchbase="dc=univ-yy,dc=fr"
    retry="60 10 300 +"
    scope=sub
    filter="(objectClass=*)"
    attrs="*,+"
    schemachecking=off
    bindmethod=simple

serverid 0x20 ldap://anutest.univ-xx.fr
syncrepl rid=020
    provider=ldap://anutest.univ-xx.fr/
    type=refreshAndPersist
    searchbase="dc=univ-xx,dc=fr"
    retry="60 10 300 +"
    scope=sub
    filter="(objectClass=*)"
    attrs="*,+"
    schemachecking=off
    bindmethod=simple


Mar 23 13:29:11 ldaprelay slapd[24319]: @(#) $OpenLDAP: slapd 2.4.23 (Nov 19 2010 17:41:28) $#012#011buildd@allspice:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
Mar 23 13:29:11 ldaprelay slapd[24320]: slapd starting
Mar 23 13:29:11 ldaprelay slapd[24320]: do_syncrep2: rid=040 LDAP_RES_INTERMEDIATE - REFRESH_DELETE
Mar 23 13:29:11 ldaprelay slapd[24320]: do_syncrep2: rid=020 LDAP_RES_INTERMEDIATE - REFRESH_DELETE

root@ldaprelay:/etc/ldap# ldapsearch -x -LLL  -s base contextcsn
dn: dc=fr
contextCSN: 20110323101636.221613Z#000000#040#000000
contextCSN: 20110323100346.844382Z#000000#020#000000

Thanks for any hints

Dom

--
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser.php?uid=lalot