From 626608f5f2af806ba5148e90b57241c32c2d840f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 3 Apr 2008 08:43:48 +0000 Subject: [PATCH] ITS#5437, #5444 if numcsns don't match, set changed flag --- servers/slapd/overlays/syncprov.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5