[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:18:02 EDT 2015


Tomas Hofman created JGRP-1932:
----------------------------------

             Summary: 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