Issue 6695 - syncrepl end retrying and stop thread
Summary: syncrepl end retrying and stop thread
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.23
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 10:33 UTC by nacho@di.uc3m.es
Modified: 2017-04-07 23:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nacho@di.uc3m.es 2010-11-04 10:33:37 UTC
Full_Name: Nacho Diaz Asenjo
Version: 2.4.23
OS: Debian 5.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2001:720:410:b131:219:d1ff:feb2:d0fa)



My slapd.conf slave 
  retry="30 10 600 10"

If operation fails stop retry (not +)

log file ---- 

Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=100010149,ou=LICENCIATURA EN ECONOMIA,ou=Alumnos,ou=Gente,o=Universidad
Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=100010149,ou=LICENCIATURA EN
ECONOMIA,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=100044776,ou=DOCTORADO EN INGENIERIA
MATEMATICA,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=100044776,ou=DOCTORADO EN INGENIERIA
MATEMATICA,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=100010216,ou=DIPLOMATURA EN BIBLIOTECONOMIA Y
DOCUMENTACION,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=100010216,ou=DIPLOMATURA EN BIBLIOTECONOMIA Y
DOCUMENTACION,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=100016204,ou=LICENCIATURA EN HUMANIDADES,ou=Alumnos,ou=Gente,o=Universidad
Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=100016204,ou=LICENCIATURA EN
HUMANIDADES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=300040997,ou=MASTER OF BUSINESS
ADMINISTRATION,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=300040997,ou=MASTER OF BUSINESS
ADMINISTRATION,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 be_search (0) 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002
uid=100003756,ou=DIPLOMATURA EN RELACIONES
LABORALES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es 
Nov  4 08:25:16 ldap02 slapd[404]: syncrepl_entry: rid=002 entry unchanged,
ignored (uid=100003756,ou=DIPLOMATURA EN RELACIONES
LABORALES,ou=Alumnos,ou=Gente,o=Universidad Carlos III,c=es) 


Syncrepl is trying to change an entry which haven't changed  ... with a
ldapsearch i can see same entry. But with a ldapbrowser export entry, 
$ diff /tmp/a.ldif /tmp/b.ldif 
2c2
<  Universidad Carlos III,c=es
---
>  Universidad Carlos III,c=ES

Entries seem different, baseDN is apparently different.

I don't know what's the problem but syncrepl retry change operation several
times and finally die, because nothing has changed really.

Thanks
Comment 1 Quanah Gibson-Mount 2017-04-07 23:44:04 UTC
Hello,

The information provided in the ITS is not actionable.  The log appears to 
show syncrepl operating in REFRESH mode.  However, the information as to 
why it is in REFRESH mode was not provided.  At this point, numerous fixes 
to syncrepl have since been made.  If you are able to reproduce the issue 
with the current OpenLDAP release, please respond to the ITS.  In the 
meantime, this ITS will be closed.

Regards,
Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 2 OpenLDAP project 2017-04-07 23:44:33 UTC
No actionable information, release is years old at this point
Comment 3 Quanah Gibson-Mount 2017-04-07 23:44:33 UTC
changed notes
changed state Open to Closed