*/
public static void rollbackTransaction(DbTxn transaction) {
if (transaction != null) {
try {
CurrentTransaction currentTxn = CurrentTransaction.getInstance(cachedEnvironment);
currentTxn.abortTxn();
}
catch (DbException e) {
log.warn("Cannot rollback transaction due to: " + e, e);
}
}