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

ReplicatedTree replication fails when construct with explicit channel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.11, 3.1
    • 3.0.8
    • None
    • Hide

      See unit test attached.

      Show
      See unit test attached.

      When a ReplicatedTree is constructed using ReplicatedTree(JChannel channel) a pre connected channel must be used.
      This means that the tree which sets itself as the receiver for the channel misses the viewAccepted callback and (when this member is the second member) therefore doesn't set the send_message flag to true.

      Subsequent modifications to the tree on this node do not get replicated (or notified to the other node's ReplicatedTreeListener).

      Using the ReplicatedTree constructor that creates a channel implicitly is not affected by this issue.

              rhn-engineering-bban Bela Ban
              jeremystone_jira Jeremy Stone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: