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

ReplicatedTree replication fails when construct with explicit channel

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 3.0.8
    • 3.0.11, 3.1
    • None
    • Hide

      See unit test attached.

      Show
      See unit test attached.

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: