[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1225) TreeCache._enqueueMethodCall doesn't handle buddy backup FQNs

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Nov 26 23:19:22 EST 2007


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

Brian Stansberry closed JBCACHE-1225.
-------------------------------------

    Resolution: Done

> TreeCache._enqueueMethodCall doesn't handle buddy backup FQNs
> -------------------------------------------------------------
>
>                 Key: JBCACHE-1225
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1225
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: 1.4.1.SP7
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: 1.4.1.SP8
>
>
> public void _enqueueMethodCall(String subtree, MethodCall call)
>            throws Throwable
>    {
>       JBCMethodCall jbcCall = (JBCMethodCall) call;
>       Region region = regionManager_.getRegion(subtree);
>       if (region == null)
>          throw new IllegalStateException("No region found for " + subtree);
> RegionManager.getRegion will return null if the FQN is for a buddy backup region.
> Solution is to do as TreeCacheMarshaller.getRegion() does -- check for buddy region fqn's and strip out the buddy-backup portion before calling regionManager.getRegion.

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