mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5564 ignore clients contextCSN when doing full reload.
This commit is contained in:
parent
4862b2906a
commit
e5dfb18abc
@ -2323,6 +2323,15 @@ no_change: if ( !(op->o_sync_mode & SLAP_SYNC_PERSIST) ) {
|
||||
send_ldap_error( op, rs, LDAP_SYNC_REFRESH_REQUIRED, "sync cookie is stale" );
|
||||
return rs->sr_err;
|
||||
}
|
||||
if ( srs->sr_state.ctxcsn ) {
|
||||
ber_bvarray_free_x( srs->sr_state.ctxcsn, op->o_tmpmemctx );
|
||||
srs->sr_state.ctxcsn = NULL;
|
||||
}
|
||||
if ( srs->sr_state.sids ) {
|
||||
slap_sl_free( srs->sr_state.sids, op->o_tmpmemctx );
|
||||
srs->sr_state.sids = NULL;
|
||||
}
|
||||
srs->sr_state.numcsns = 0;
|
||||
} else {
|
||||
gotstate = 1;
|
||||
/* If changed and doing Present lookup, send Present UUIDs */
|
||||
|
Loading…
Reference in New Issue
Block a user