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

RequestCorrelator broadcasts message instead of sending an unicast

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.0
    • 4.0
    • None

      The first message sent has the destination field initialized with null. In result, the first message is broadcasted. The destination must be set.

      In here: https://github.com/belaban/JGroups/blob/master/src/org/jgroups/blocks/RequestCorrelator.java#L161

      Code:
      Message copy=(first? msg : msg.copy(true)).dest(mbr);

      Possible fix:
      Message copy=(first? msg.dest(mbr) : msg.copy(true)).dest(mbr);

              rhn-engineering-bban Bela Ban
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: