mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-04 14:22:58 -04:00
ITS#7040 don't complain about other server's CSNs
Only worry if consumer has newer state for our SID. Fixes breakage caused by ITS#6606.
This commit is contained in:
parent
3ca52e4f94
commit
da210f40e1
1 changed files with 1 additions and 1 deletions
|
|
@ -2583,7 +2583,7 @@ syncprov_op_search( Operation *op, SlapReply *rs )
|
|||
mincsn = srs->sr_state.ctxcsn[i];
|
||||
minsid = sids[j];
|
||||
}
|
||||
} else if ( newer > 0 ) {
|
||||
} else if ( newer > 0 && sids[j] == slap_serverID ) {
|
||||
/* our state is older, complain to consumer */
|
||||
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
||||
rs->sr_text = "consumer state is newer than provider!";
|
||||
|
|
|
|||
Loading…
Reference in a new issue