private void releaseResources(CacheTransaction cacheTransaction) {
   if (cacheTransaction != null) {
     if (clustered) {
       recalculateMinViewIdIfNeeded(cacheTransaction);
     }
     log.tracef("Removed %s from transaction table.", cacheTransaction);
     cacheTransaction.notifyOnTransactionFinished();
   }
 }