[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-785) InvocationContext and suspended transactions
Manik Surtani (JIRA)
jira-events at jboss.com
Wed Oct 11 10:00:43 EDT 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-785?page=all ]
Manik Surtani closed JBCACHE-785.
---------------------------------
Resolution: Done
> InvocationContext and suspended transactions
> --------------------------------------------
>
> Key: JBCACHE-785
> URL: http://jira.jboss.com/jira/browse/JBCACHE-785
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.4.0.SP1
> Reporter: Owen Taylor
> Assigned To: Manik Surtani
> Priority: Critical
> Fix For: 1.4.0.SP2, 2.0.0
>
> Attachments: hibernate-suspend-workaround.patch, SuspendTxTest.java
>
>
> The attached test case demonstrates that if you:
> A) Make calls to the tree cache
> B) suspend the current transaction
> C) Make more calls to the tree cache
> The locks created at step C) are sometimes attached to the suspended transaction; it seems this is because the cached transactions in InvocationContext are only reliably cleared when a transaction is committed.
> It's possible that *always* passing true in the call to scrubInvocationCtx() at the end of TxInterceptor.invoke() would work, but I'm not sure it is the correct thing to do, or what the effect would be on performance. (Presumably there is some reason not to just always look up the current transaction.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list