[jboss-jira] [JBoss JIRA] (JGRP-1940) RPC responses should have the INTERNAL flag cleared

Bela Ban (JIRA) issues at jboss.org
Wed Jul 15 04:07:03 EDT 2015


    [ https://issues.jboss.org/browse/JGRP-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089575#comment-13089575 ] 

Bela Ban commented on JGRP-1940:
--------------------------------

If needed, the *Asynchronous Invocation API* can be used to create a {{Message}} and set flags as desired (e.g. {{INTERNAL}}), although that flag should never be used by application code.

> RPC responses should have the INTERNAL flag cleared
> ---------------------------------------------------
>
>                 Key: JGRP-1940
>                 URL: https://issues.jboss.org/browse/JGRP-1940
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6.5
>
>
> When an RPC request is retransmitted, it will be sent by {{NAKACK2}} or {{UNICAST3}} as {{INTERNAL}} message. If the RPC call returns a response, that response will also be {{INTERNAL}}, using up the internal thread pool.
> SOLUTION: clear the {{INTERNAL}} flag on an RPC response. JGroups uses the {{INTERNAL}} flag only with *messages*, never with *RPCs*.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list