Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1932

Race condition - MERGE2 with TUNNEL transport is not merging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.6.4
    • 3.6.3
    • None

      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.

            rhn-engineering-bban Bela Ban
            thofman Tomas Hofman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: