mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
ITS#8527 - Add additional debug logging on consumer/provider state when the consumer has a newer cookie than the provider
This commit is contained in:
parent
cc99da182f
commit
fd5ad3ef39
1 changed files with 4 additions and 0 deletions
|
|
@ -2656,6 +2656,10 @@ syncprov_op_search( Operation *op, SlapReply *rs )
|
|||
/* our state is older, complain to consumer */
|
||||
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
||||
rs->sr_text = "consumer state is newer than provider!";
|
||||
Log4( LDAP_DEBUG_SYNC, ldap_syslog_level,
|
||||
"consumer %d state %s is newer than provider %d state %s\n",
|
||||
sids[i], srs->sr_state.ctxcsn[i].bv_val, sids[j], /* == slap_serverID */
|
||||
ctxcsn[j].bv_val);
|
||||
bailout:
|
||||
if ( sop ) {
|
||||
syncops **sp = &si->si_ops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue