mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 08:53:27 -05:00
ITS#4369 add log messages for delta syncrepl ops
This commit is contained in:
parent
bebfc49d71
commit
3d3ba13f92
1 changed files with 12 additions and 0 deletions
|
|
@ -1359,11 +1359,17 @@ syncrepl_message_to_op(
|
|||
text, 0, 0 );
|
||||
} else {
|
||||
rc = op->o_bd->be_add( op, &rs );
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_message_to_op: be_add %s (%d)\n",
|
||||
op->o_req_dn.bv_val, rc, 0 );
|
||||
}
|
||||
be_entry_release_w( op, op->ora_e );
|
||||
} else {
|
||||
op->orm_modlist = modlist;
|
||||
rc = op->o_bd->be_modify( op, &rs );
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_message_to_op: be_modify %s (%d)\n",
|
||||
op->o_req_dn.bv_val, rc, 0 );
|
||||
}
|
||||
break;
|
||||
case LDAP_REQ_MODRDN:
|
||||
|
|
@ -1387,9 +1393,15 @@ syncrepl_message_to_op(
|
|||
goto done;
|
||||
rc = op->o_bd->be_modrdn( op, &rs );
|
||||
slap_mods_free( op->orr_modlist, 1 );
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_message_to_op: be_modrdn %s (%d)\n",
|
||||
op->o_req_dn.bv_val, rc, 0 );
|
||||
break;
|
||||
case LDAP_REQ_DELETE:
|
||||
rc = op->o_bd->be_delete( op, &rs );
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_message_to_op: be_delete %s (%d)\n",
|
||||
op->o_req_dn.bv_val, rc, 0 );
|
||||
break;
|
||||
}
|
||||
done:
|
||||
|
|
|
|||
Loading…
Reference in a new issue