[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1265) Option.setCacheModeLocal ineffective for Node.addChild()

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Jan 21 11:18:21 EST 2008


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

Manik Surtani resolved JBCACHE-1265.
------------------------------------

    Resolution: Done

> 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
>             Fix For: 2.1.0.CR3
>
>
> 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