[jboss-jira] [JBoss JIRA] (JGRP-2356) RpcDispatcher#callRemoteMethods does not work while calling MembershipListener#viewAccepted when using ForkChannel.
Bela Ban (Jira)
issues at jboss.org
Fri Aug 2 09:51:02 EDT 2019
[ https://issues.jboss.org/browse/JGRP-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766495#comment-13766495 ]
Bela Ban commented on JGRP-2356:
--------------------------------
I cannot reproduce the issue; this works for me!
Looking at your log, this also works for *you*:
{noformat}
MessageDispatcher - dests=null, method_call=boeee(), options=mode=GET_ALL, timeout=0, anycasting=true, flags=OOB, responses: [IM9072-5099: received=true, suspected=false]
[INFO ] 2019-07-01 18:15:24.529 [main] JChannelRunner - viewAccepted:end
{noformat}, otherwise you wouldn't see {{viewAccepted:end}}, would you?
Having said that, it is still a bad idea to invoke a blocking RPC in a {{viewAccepted()}} callback!
> RpcDispatcher#callRemoteMethods does not work while calling MembershipListener#viewAccepted when using ForkChannel.
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-2356
> URL: https://issues.jboss.org/browse/JGRP-2356
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.1.0
> Environment: Java: jdk1.8.0_212
> OS: Windows 7 / Linux(ubuntu)
> Reporter: Ziro Tanaka
> Assignee: Bela Ban
> Priority: Major
> Fix For: 4.1.3
>
> Attachments: JChannelRunner.java, coordinator_log.txt, coordinator_threaddump.txt, joinner_log.txt
>
>
> Create RpcDispatcher that works with ForkChannel and set MembershipListener.
> If you make a synchronous call with RpcDispatcher in MembershipListener#viewAccepted, no response will be returned.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list