[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1329) double removal on optimistic locking leaving stale nodes

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Apr 21 19:13:44 EDT 2008


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

Manik Surtani updated JBCACHE-1329:
-----------------------------------

    Summary: double removal on optimistic locking leaving stale nodes  (was: double removal on optimistic locking)

> double removal on optimistic locking leaving stale nodes
> --------------------------------------------------------
>
>                 Key: JBCACHE-1329
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1329
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.1.0.GA, 2.1.0.CR4
>            Reporter: Mircea Markus
>         Assigned To: Manik Surtani
>             Fix For: 2.1.1.GA, 2.2.0.GA
>
>
> Following test to reproduce:
>     public void testDoubleRemovalOfData2() throws Exception
>    {
>       cache.put("/foo/1/2", "item", 1);
>       tm.begin();
>       assertEquals(cache.get("/foo/1", "item"), null);
>       cache.removeNode("/foo/1");
>       assertNull(cache.get("/foo/1", "item"));
>       cache.removeNode("/foo/1/2");
>       assertNull(cache.get("/foo/1", "item"));
>       tm.commit();
>       assertFalse(cache.exists("/foo/1"));
>       assertNull(cache.get("/foo/1/2", "item"));
>       assertNull(cache.get("/foo/1", "item"));
>    }

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