mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#7052 syncrepl deletes should ignore some errors
Treat LDAP_NO_SUCH_OBJECT as success, otherwise the consumer will abort and start a new refresh for no good reason.
This commit is contained in:
parent
c922e5dbbd
commit
3be354d0d2
@ -3181,6 +3181,8 @@ retry_modrdn:;
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_entry: %s be_delete %s (%d)\n",
|
||||
si->si_ridtxt, op->o_req_dn.bv_val, rc );
|
||||
if ( rc == LDAP_NO_SUCH_OBJECT )
|
||||
rc = LDAP_SUCCESS;
|
||||
|
||||
while ( rs_delete.sr_err == LDAP_SUCCESS
|
||||
&& op->o_delete_glue_parent ) {
|
||||
|
Loading…
Reference in New Issue
Block a user