IgniteTxManager.idMap possible memory leak. This closes
@@ -4310,6 +4310,16 @@ public abstract class GridCacheAdapter<K, V> implements IgniteInternalCache<K, V
throw e;
}
+ catch (RuntimeException e) {
+ try {
+ tx.rollback();
+ }
+ catch (IgniteCheckedException | AssertionError | RuntimeException e1) {
+ U.error(log, "Failed to rollback transaction " + CU.txString(tx), e1);
+ }
+
+ throw e;
+ }
finally {
ctx.tm().resetContext();
