/* Remove it from parent. */
if (parent != null) parent.getChilds().remove(new Integer(txnId));
//To guarantee add one commit log record before removing txn from active txn list
if (isCommit) {
deleteAndLoggingDeletedFiles();
(new TxnRegopLogRecord(TXN_COMMIT, (new Date()).getTime(), this.txnId)).log(TXN_SYNC);
}
/* Remove this transaction from transaction chain in the transaction manager. */
lnkTransactionManager.getTxnChain().remove(new Integer(txnId));