mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#5376,ITS#5378
This commit is contained in:
parent
4a6f42b606
commit
37a294eaed
2 changed files with 13 additions and 4 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,6 +1,8 @@
|
|||
OpenLDAP 2.3 Change Log
|
||||
|
||||
OpenLDAP 2.3.42 Engineering
|
||||
Fixed slapd delta-syncrepl refresh mode (ITS#5376)
|
||||
Fixed slapd delta-syncrepl resync (ITS#5378)
|
||||
Fixed slapd pagedresults stale state (ITS#5409)
|
||||
Fixed slapd-ldap connection handler (ITS#5404)
|
||||
|
||||
|
|
|
|||
|
|
@ -722,10 +722,17 @@ do_syncrep2(
|
|||
if (( rc = syncrepl_message_to_op( si, op, msg )) == LDAP_SUCCESS &&
|
||||
!BER_BVISNULL( &syncCookie.ctxcsn ) ) {
|
||||
syncrepl_updateCookie( si, op, psub, &syncCookie );
|
||||
} else if ( rc == LDAP_NO_SUCH_OBJECT ) {
|
||||
rc = LDAP_SYNC_REFRESH_REQUIRED;
|
||||
si->si_logstate = SYNCLOG_FALLBACK;
|
||||
ldap_abandon_ext( si->si_ld, si->si_msgid, NULL, NULL );
|
||||
} else switch ( rc ) {
|
||||
case LDAP_ALREADY_EXISTS:
|
||||
case LDAP_NO_SUCH_OBJECT:
|
||||
case LDAP_NO_SUCH_ATTRIBUTE:
|
||||
case LDAP_TYPE_OR_VALUE_EXISTS:
|
||||
rc = LDAP_SYNC_REFRESH_REQUIRED;
|
||||
si->si_logstate = SYNCLOG_FALLBACK;
|
||||
ldap_abandon_ext( si->si_ld, si->si_msgid, NULL, NULL );
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else if (( rc = syncrepl_message_to_entry( si, op, msg,
|
||||
&modlist, &entry, syncstate )) == LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue