[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1265) Option.setCacheModeLocal ineffective for Node.addChild()
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Jan 14 22:51:19 EST 2008
Option.setCacheModeLocal ineffective for Node.addChild()
--------------------------------------------------------
Key: JBCACHE-1265
URL: http://jira.jboss.com/jira/browse/JBCACHE-1265
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.0.CR2
Reporter: Brian Stansberry
Assigned To: Manik Surtani
If you invoke node.addChild(fqn) with a cacheModeLocal=true option in effect, the node addition replicates. This is because NodeInvocationDelegate first does a get call on the cache to check for node existence, and then does the put. The option is cleared from the thread after the get.
Adding test o.j.c.option.cachemodelocal.CacheModeLocalTestBase.testAddChild() to show 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