mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#6393 syncrepl internal connids are now <= -1000
This commit is contained in:
parent
650ebba22b
commit
4105ee462d
@ -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 ) ) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user