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

Concurrent startup of many channels doesn't stabilize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.3, 2.7
    • None
    • None

      [Brian Goose]

      Jgroups 2.6.2, jdk1.6u4, and OS "Linux bubba 2.6.24-16-generic #1 SMP
      Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux"

      I have 8 machines that all join a channel when they startup. Usually,
      they eventually merge into one view with 8 machines in it, but sometimes
      I end up with one view of 7 members and one view of 1 member. It never
      merges, even after waiting for an hour or two.

      I've created a unit test that demonstrates this problem while using the
      flush-udp stack. About 20% of the time the views will never merge into
      one big view, but instead stays as two separate views, continually
      trying to merge and failing. Do I have something set up wrong here?
      Should this test work reliably?

      I'm running with these java switches:
      -ea
      -Djava.net.preferIPv4Stack=true

      -Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.
      LogFactoryImpl

      The test class is attached.

        1. 770.txt
          108 kB
        2. GroupRequest.java
          24 kB

              vblagoje Vladimir Blagojevic (Inactive)
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: