@Override protected void close(boolean isCommit) throws DatabaseException { super.close(isCommit); if (activeTxns != null) { Txn removed = activeTxns.remove(getId()); assert removed != null : "txn was not in map " + this + " " + LoggerUtils.getStackTrace(); } }