280281282283284285286287288289290
if (txn == null) { throw new XAException ("No transaction found for " + xid + " during rollback."); } removeReferringHandle(new Transaction(this, txn)); txn.abort(xid); } catch (DatabaseException DE) { throwNewXAException(DE); } if (DEBUG) {
220221222223224225226227228229230
txn = null; return group; } finally { if (txn != null) { txn.abort(); } } } public RepGroupImpl getGroup(ReplicaConsistencyPolicy policy)
352353354355356357358359360361362
if (cursor != null) { cursor.close(); } if (txn != null) { txn.abort(); } } ensureMember(new RepNodeImpl(nodeName, repImpl.getHostName(),
447448449450451452453454455456457
if (cursor != null) { cursor.close(); } if (txn != null) { txn.abort(); } } createMember(ensureNode);
669670671672673674675676677678679
if (txn != null) { if (ok) { txn.commit(NO_ACK_NO_SYNC_DURABILITY); } else { txn.abort(); } txn = null; } if (ok) { /* RepNode may be null during shutdown. [#17424] */
13801381138213831384138513861387138813891390
(txn, DbType.REP_GROUP.getInternalName(), dbConfig); txn.commit(); txn = null; } finally { if (txn!= null) { txn.abort(); } } groupDbImpl = newDbImpl; } finally {
14871488148914901491149214931494149514961497
groupDbImpl = newDbImpl; return groupDbImpl; } finally { if (txn != null) { txn.abort(); } groupDbLock.unlock(); } }
686687688689690691692693694695696
txn.commit(); envImpl.flushLog(true /*fsync required*/); success = true; } finally { if (!success) { txn.abort(); } } } /**
731732733734735736737738739740741
flushToDatabase(txn); txn.commit(); success = true; } finally { if (!success) { txn.abort(); } } } /**
14631464146514661467146814691470147114721473
flushToDatabase(txn); txn.commit(); success = true; } finally { if (!success) { txn.abort(); } } } private void openMappingDatabase(String mappingDbName)