Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
CacheContinuousQueryAsyncFailoverMvccTxSelfTest.testMultiThreadedFailover sometimes finished with OMM.
Heapdump analyze showed that leak happened in IgniteTxManager.idMap, this map contains 2_097_152 instances of GridNearTxLocal with ACTIVE state and without finishFut and prepFut.
while (!updated) { try { prevVal = (Integer)qryClnCache.getAndPut(key, val); updated = true; } catch (CacheException e) { assertSame(atomicityMode(), CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT); } }
Possible the CacheException is common and may hide wrong cases. Change it at specific (ignite-10976).
Attachments
Issue Links
- blocks
-
IGNITE-11124 CacheContinuousQueryAsyncFailoverMvccTxSelfTest::testMultiThreadedFailover sometimes throwing oom
- Closed
- duplicates
-
IGNITE-11124 CacheContinuousQueryAsyncFailoverMvccTxSelfTest::testMultiThreadedFailover sometimes throwing oom
- Closed
- is blocked by
-
IGNITE-10976 MVCC: Sql API methods should throw proper TransactionExceptions in case of tx failure.
- Resolved
- links to