Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4190

Use Message.Flag.DONT_LOOPBACK instead of RequestOptions.setExclusionList

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.0.1.Final
    • 7.0.0.Alpha2
    • Core
    • None

      We are currently using RequestOptions.setExclusionList(channel.getAddress()) in CommandAwareRpcDispatcher, to prevent the sender of an RPC to receive that message. We can't use Channel.setDiscardOwnMessages(true), because TO requires messages to be delivered to self.

      JGroups 3.5.0.Beta2 has added a DONT_LOOPBACK flag, which should be a lot more efficient than using the exclusion list. We should start using it.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: