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