mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#8800 remove originator check in syncprov_search_response
Let the entryCSN check do all the work. Reloading a server from an old backup needs this to go thru.
This commit is contained in:
parent
0eb577632f
commit
4d1077ffa4
1 changed files with 0 additions and 8 deletions
|
|
@ -2388,14 +2388,6 @@ syncprov_search_response( Operation *op, SlapReply *rs )
|
|||
int i, sid;
|
||||
sid = slap_parse_csn_sid( &a->a_nvals[0] );
|
||||
|
||||
/* Don't send changed entries back to the originator */
|
||||
if ( sid == srs->sr_state.sid && srs->sr_state.numcsns ) {
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"Entry %s changed by peer, ignored\n",
|
||||
rs->sr_entry->e_name.bv_val, 0, 0 );
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
/* If not a persistent search */
|
||||
if ( !ss->ss_so ) {
|
||||
/* Make sure entry is less than the snapshot'd contextCSN */
|
||||
|
|
|
|||
Loading…
Reference in a new issue