From 4105ee462dac31f490b383d6c35e2f1bb0a1bccf Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 21 Nov 2009 20:22:18 +0000 Subject: [PATCH] ITS#6393 syncrepl internal connids are now <= -1000 --- servers/slapd/backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index ed39545735..b003354219 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -759,10 +759,10 @@ be_slurp_update( Operation *op ) int be_shadow_update( Operation *op ) { - /* This assumes that all internal ops (connid == -1) on a syncrepl + /* This assumes that all internal ops (connid <= -1000) on a syncrepl * database are syncrepl operations. */ - return (( SLAP_SYNC_SHADOW( op->o_bd ) && op->o_connid == -1 ) || + return (( SLAP_SYNC_SHADOW( op->o_bd ) && op->o_connid <= -1000 ) || ( SLAP_SHADOW( op->o_bd ) && be_isupdate_dn( op->o_bd, &op->o_ndn ) ) ); } -- 2.39.5