Hallvard B Furuseth wrote:
Aaron Richton writes:
<= str2entry NULL (smr_normalize contextCSN 21)
send_ldap_result: conn=-1 op=0 p=0
send_ldap_result: err=80 matched="" text="internal error (cannot parse some entry 
file)"

The 2nd contextCSN in that entry is garbage:

Looking at the log file, it appears to have been corrupted during the checkpoint on the previous shutdown.

I've added some checks/asserts to syncrepl.c and syncprov.c in HEAD. Can you please incorporate those asserts into your build and try to reproduce this? So far I've run test050 50 times and not seen any problem.


dn: cn=config
objectClass: olcGlobal
cn: config
structuralObjectClass: olcGlobal
creatorsName: cn=config
createTimestamp: 20090211053745Z
entryUUID: dade8f04-8c49-102d-935b-1f79305f5c76
olcServerID: 1 ldap://localhost:9011/
olcServerID: 2 ldap://localhost:9012/
olcServerID: 3 ldap://localhost:9013/
entryCSN: 20090211053747.167910Z#000000#001#000000
modifiersName: cn=config
modifyTimestamp: 20090211053747Z
contextCSN: 20090211053750.548808Z#000000#001#000000
contextCSN:: fH/zsAAkIZgAJAtgAEP0QABD8nAAAAAAAAAAAAAAAAAAAAAAAAAAAA==



--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to