[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1165) Endless loop in PessimisticLockInterceptor

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Oct 29 10:51:15 EDT 2007


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

Manik Surtani updated JBCACHE-1165:
-----------------------------------

    Fix Version/s: 1.4.1.SP7
                       (was: 1.4.1.SP6)

> Endless loop in PessimisticLockInterceptor
> ------------------------------------------
>
>                 Key: JBCACHE-1165
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1165
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.GA, 1.4.1.SP4
>         Environment: Windows XP, Sun jdk150_06 
> Solaris 10
>            Reporter: Jacek Halat
>         Assigned To: Manik Surtani
>             Fix For: 2.1.0.GA, 1.4.1.SP7
>
>         Attachments: ConcurentPutRemoveTest.java, ConsoleOut.log
>
>
> When 2 Threads are simulatanous putting/removing values from this same node TreeCache hang's up and goes into endless loop.
> Main loop looks like:
> 				for (int x = 0; x < 1000; x++) {
> 					tm.begin();
> 					System.out.println("R" + Thread.currentThread().getName());
> 					//inside transaction
> 					cache.remove("/a");
> 					System.out.println("AR" + Thread.currentThread().getName());
> 					tm.commit();
> 					//outside transaction
> 					System.out.println("P" + Thread.currentThread().getName());
> 					cache.put("/a/b/c/d", "text"+x,"b");
> 					System.out.println("AP" + Thread.currentThread().getName());
> 				}

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