ITS#9342 delta-sync: ignore error if deleting an already deleted entry

This commit is contained in:
Howard Chu 2020-09-08 21:25:30 +01:00
parent c8ba729f84
commit 8bd2d1fee8

View file

@ -3033,6 +3033,9 @@ syncrepl_message_to_op(
Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
"syncrepl_message_to_op: %s be_delete %s (%d)\n",
si->si_ridtxt, op->o_req_dn.bv_val, rc );
/* silently ignore this */
if ( rc == LDAP_NO_SUCH_OBJECT )
rc = LDAP_SUCCESS;
do_graduate = 0;
break;
}