ITS#3301 check for dn2entry failure

This commit is contained in:
Howard Chu 2004-08-25 13:55:55 +00:00
parent 2316461b93
commit 5cba217006

View file

@ -58,6 +58,15 @@ bdb_csn_commit(
rc = bdb_dn2entry( op, tid, &op->o_bd->be_context_csn, &ctxcsn_ei,
1, locker, &ctxcsn_lock );
switch( rc ) {
case 0:
break;
case DB_LOCK_DEADLOCK:
case DB_LOCK_NOTGRANTED:
return BDB_CSN_RETRY;
default:
return BDB_CSN_ABORT;
}
*ctxcsn_e = ctxcsn_ei->bei_e;