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

(ITS#3425) HEAD fails to replicate newer provider entries over older repliac entries



Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.182.82)


I found that with the latest HEAD checkout (12/8/2004), that in the case where
the provider and the replica have duplicate entries, except that the providers
entry is newer than the replica's entry, the replica will not replace its old
entry with the newer entry using syncRepl/syncProv.  However, the replica is
definately seeing the entry, as it sets its syncrepl cookie off of the newer
entry in the provider.

ldap-dev3 is the replica, ldap-dev0 is the provider.

Data:
tribes:~> ldapsearch -LLL -Q -h ldap-dev0 cn=www-logs +
dn: cn=www-logs,cn=service,cn=applications,dc=stanford,dc=edu
structuralObjectClass: applicationProcess
entryUUID: 726a296a-dc5d-1028-84df-eda20bae3e90
creatorsName: uid=quanah,cn=accounts,dc=stanford,dc=edu
createTimestamp: 20041207053445Z
entryCSN: 20041207053445Z#000001#00#000000
modifiersName: uid=quanah,cn=accounts,dc=stanford,dc=edu
modifyTimestamp: 20041207053445Z
entryDN: cn=www-logs,cn=service,cn=applications,dc=stanford,dc=edu
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

tribes:~> ldapsearch -LLL -Q -h ldap-dev3 cn=www-logs +
dn: cn=www-logs,cn=service,cn=applications,dc=stanford,dc=edu
structuralObjectClass: applicationProcess
entryUUID: 6bdbb558-ce1d-1028-9ba5-a5dbccf3cf3f
creatorsName: uid=quanah,cn=accounts,dc=stanford,dc=edu
createTimestamp: 20041119022110Z
entryCSN: 20041119022110Z#000001#00#000000
modifiersName: uid=quanah,cn=accounts,dc=stanford,dc=edu
modifyTimestamp: 20041119022110Z
entryDN: cn=www-logs,cn=service,cn=applications,dc=stanford,dc=edu
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

tribes:~> ldapsearch -LLL -Q -h ldap-dev3 -s base
-b"cn=syncrepl0,dc=stanford,dc=edu" cn=syncrepl0 +
dn: cn=syncrepl0,dc=stanford,dc=edu
subtreeSpecification: {}
syncreplCookie: csn=20041207053445Z#000001#00#000000
structuralObjectClass: subentry
entryUUID: 7a14d2cc-ddf8-1028-9428-e1c52ebebc19
creatorsName: cn=Manager,dc=stanford,dc=edu
createTimestamp: 20041209063701Z
entryCSN: 20041209063701Z#000001#00#000000
modifiersName: cn=Manager,dc=stanford,dc=edu
modifyTimestamp: 20041209063701Z
entryDN: cn=syncrepl0,dc=stanford,dc=edu
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE