From 947e3bbe1d6c42abf25381f981eb62d79189c93c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 13 Feb 2008 04:36:58 +0000 Subject: [PATCH] ITS#5376 - deltasync must fallback for missing entries --- servers/slapd/syncrepl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 1b008233b7..3928454aa1 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -833,6 +833,9 @@ do_syncrep2( syncCookie.ctxcsn ) { rc = syncrepl_updateCookie( si, op, psub, &syncCookie ); + } else if ( rc == LDAP_NO_SUCH_OBJECT ) { + rc = LDAP_SYNC_REFRESH_REQUIRED; + si->si_logstate = SYNCLOG_FALLBACK; } } else if ( ( rc = syncrepl_message_to_entry( si, op, msg, &modlist, &entry, syncstate ) ) == LDAP_SUCCESS ) -- 2.39.5