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

RequestCorrelator broadcasts message instead of sending an unicast

    XMLWordPrintable

Details

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

    Description

      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);

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: