From: Howard Chu Date: Thu, 3 Apr 2008 08:43:48 +0000 (+0000) Subject: ITS#5437, #5444 if numcsns don't match, set changed flag X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=626608f5f2af806ba5148e90b57241c32c2d840f;p=openldap ITS#5437, #5444 if numcsns don't match, set changed flag --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index e0437de3ea..9d7a9ad721 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2243,6 +2243,9 @@ no_change: if ( !(op->o_sync_mode & SLAP_SYNC_PERSIST) ) { } goto shortcut; } + } else { + /* consumer doesn't have the right number of CSNs */ + changed = SS_CHANGED; } /* Do we have a sessionlog for this search? */ sl=si->si_logs;