private void cleanup(GlobalTransaction gtx)
{
TransactionEntry entry = tx_table.get(gtx);
// Let's do it in stack style, LIFO
entry.releaseAllLocksLIFO(gtx);
Transaction ltx = entry.getTransaction();
if (log.isTraceEnabled())
{
log.trace("removing local transaction " + ltx + " and global transaction " + gtx);