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

ReplicatedTree replication fails when construct with explicit channel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.11, 3.1
    • Labels:
      None
    • Steps to Reproduce:
      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

            Assignee:
            belaban Bela Ban
            Reporter:
            JeremyStone Jeremy Stone (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: