[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1285) endless loop with NONE isolation level

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Feb 6 11:42:03 EST 2008


     [ http://jira.jboss.com/jira/browse/JBCACHE-1285?page=all ]

Mircea Markus updated JBCACHE-1285:
-----------------------------------

    Attachment: EndlessLoopWithNoneTxIsolationTest.java

UT to reproduce the loop

> endless loop with NONE isolation level
> --------------------------------------
>
>                 Key: JBCACHE-1285
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1285
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.X
>            Reporter: Mircea Markus
>         Assigned To: Manik Surtani
>            Priority: Minor
>             Fix For: 1.4.X
>
>         Attachments: EndlessLoopWithNoneTxIsolationTest.java
>
>
> if transaction isolation is NONE, and we do the following:
> cache.put("/a", "k","v");
> tx.beggin();
> cache.remove("/a);
> cache.put("/a/b");//here will be an endless loop
> tx.commit()
> The endless appears in the PessimisticLockInterceptor.lock, as needToReverseRemove is not called for NONE isolation level (method itself also needs changed to accommodate this) 

-- 
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