[jboss-jira] [JBoss JIRA] Commented: (JBCLUSTER-220) HAPartition.callMethodOnCluster() is not reentrant

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Feb 3 08:14:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBCLUSTER-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12450819#action_12450819 ] 

Bela Ban commented on JBCLUSTER-220:
------------------------------------

Brian, did you know that RpcDispatcher already has a method callRemoteMethods() which has an 'oob' parameter ? 

I don't think this is exposed at the callMethodOnCluster() method though.

If a recursive synchronous method call had an OOB flag, the call would not block !

> HAPartition.callMethodOnCluster() is not reentrant
> --------------------------------------------------
>
>                 Key: JBCLUSTER-220
>                 URL: https://jira.jboss.org/jira/browse/JBCLUSTER-220
>             Project: JBoss Clustering
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: HA-Server-API
>            Reporter: Fol de Rol
>            Assignee: Brian Stansberry
>
> An RPC handler of callMethodOnCluster() cannot in its turn call callMethodOnCluster() querying other services. The second call blocks until timeout is reached and returns without results.
> The same relates to facilities based on this method like Distributed Replicant Manager.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list