ITS#4369 add log messages for delta syncrepl ops

This commit is contained in:
Howard Chu 2006-01-25 01:47:48 +00:00
parent bebfc49d71
commit 3d3ba13f92

View file

@ -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: