[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-845) Memory leaks for 2 phase commit readonly transaction
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Fri Jan 14 12:20:49 EST 2011
[ https://issues.jboss.org/browse/ISPN-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño resolved ISPN-845.
-----------------------------------
Resolution: Done
Issue solved now with latest commit.
> Memory leaks for 2 phase commit readonly transaction
> ----------------------------------------------------
>
> Key: ISPN-845
> URL: https://issues.jboss.org/browse/ISPN-845
> Project: Infinispan
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 4.2.0.Final
> Reporter: Changgeng Li
> Assignee: Manik Surtani
> Priority: Blocker
> Fix For: 4.2.1.Final
>
> Attachments: infinispan.log
>
>
> If a method that is declared with read only transactional attribute by '@Transactional(readOnly=true)', using jboss transaction manager, and inside this method two caches are visited, there will be memory leak after the method is invoked.
> The leak happens in TransactionTable instances, localTransactions map and xid2LocalTx map. It seems the commit phrase is skipped and the cleanup method is failed to be called to clean entries in these two maps.
> My test shows if the transaction just enlists one cache, there won't be any problems, but I haven't test whether using DummyTransactionManagerLookup will resolve this.
> This bug break our system where readOnly DAO methods are heavily used with infinispan as hibernate second level cache.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list