[jboss-jira] [JBoss JIRA] (JGRP-2038) RpcDipatcher: calls with CompletableFuture don't respect timeout
Bela Ban (JIRA)
issues at jboss.org
Mon Jul 11 11:03:00 EDT 2016
[ https://issues.jboss.org/browse/JGRP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263812#comment-13263812 ]
Bela Ban commented on JGRP-2038:
--------------------------------
This is because the timeout defined in {{RequestOptions}} doesn't come into play with an RPC-with-future which returns immediately. To use a timeout, {{CompletableFuture.get(long timeout, TimeUnit unit)}} has to be used on the returned future.
> RpcDipatcher: calls with CompletableFuture don't respect timeout
> ----------------------------------------------------------------
>
> Key: JGRP-2038
> URL: https://issues.jboss.org/browse/JGRP-2038
> Project: JGroups
> Issue Type: Bug
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0
>
>
> When calling {{RpsDispatcher.callRemoteMethodsWithFuture()}}, a timeout passed via RequestOptions is not respected; calls don't timeout out if any of the members doesn't reply.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list