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

MMR - Full sync of an empty ldap with a full ldap - modified entry on the full ldap are not replicated on the empty (greater than snapshot)



Hello,

I'm with openldap-2.4.39 on MMR mode with 2 master openldap server.
After a crash of the ldap n°1 (segfault), i delete the data on the ldap N°1 (slapd and delta-sync), the ldap N°2 still running.
I started the ldap n°1. It made a full sync to have the data of the ldap n°2.
But during this full sync, if an entry is modified on the ldap n°2, this entry is not replicated on the server n°1 (error "greater than snapshot"). 
Even if i edit manually  the entry on the ldap n°2, this entry is never created on the ldap n°2.
How can i force these entrys to be replicated? How can i resync an ldap server (without interruption) (export ldif and import?, full sync)?

Extracts of the log : 
Server n°1 (empty at the started and without entry modified on the n°2 at the end of the full sync) : 
2014-09-25T14:52:14.220548+02:00 ldap02 slapd[7362]: Entry uid=3313791009,ou=personnes,ou=... CSN 20140925125108.641340Z#000000#0c9#000000 greater than snapshot 20140925123716.109791Z#000000#0c9#000000

Server n°2 (where the modification of the entry is made) : 
2014-09-25T14:51:05.321697+02:00 ldap02 slapd[7362]: conn=642704 op=8 MOD dn="uid=3313791009,ou=personnes,ou=..."
2014-09-25T14:51:05.581530+02:00 ldap02 slapd[7362]: conn=642704 op=24 MOD dn="uid=3313791009,ou=personnes,ou=..."
2014-09-25T14:51:08.642118+02:00 ldap02 slapd[7362]: conn=642756 op=22 MOD dn="uid=3313791009,ou=personnes,ou=..."