[jboss-jira] [JBoss JIRA] (JGRP-1932) Race condition - MERGE2 with TUNNEL transport is not merging
Tomas Hofman (JIRA)
issues at jboss.org
Wed Jun 3 11:22:02 EDT 2015
[ https://issues.jboss.org/browse/JGRP-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073749#comment-13073749 ]
Tomas Hofman commented on JGRP-1932:
------------------------------------
I created a PR with a proposed fix: https://github.com/belaban/JGroups/pull/215
> Race condition - MERGE2 with TUNNEL transport is not merging
> ------------------------------------------------------------
>
> Key: JGRP-1932
> URL: https://issues.jboss.org/browse/JGRP-1932
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.3
> Reporter: Tomas Hofman
> Assignee: Bela Ban
>
> When using TUNNEL transport with MERGE2 discovery protocol, cluster merge doesn't happen.
> Problem seems to be in MERGE2.FindSubgroupsTask.fetchViews() method, which returns immediately after sending multicast discovery request instead of waiting for reply(ies). This is in contradiction with its' contract: "Returns when either discovery_timeout ms have elapsed or more than 1 different view has been found".
> Different views are therefore not detected and MERGE event is not generated.
> Everything works fine when using MERGE3 discovery protocol instead.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list