From 8bd2d1fee892a2cc8e32b502f1c5104fcaad6fee Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 8 Sep 2020 21:25:30 +0100 Subject: [PATCH] ITS#9342 delta-sync: ignore error if deleting an already deleted entry --- servers/slapd/syncrepl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index f7f83cb775..154caa0a13 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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; } -- 2.47.3