]
Galder Zamarreño updated ISPN-4190:
-----------------------------------
Fix Version/s: 7.1.0.Alpha1
(was: 7.0.0.Final)
Use Message.Flag.DONT_LOOPBACK instead of
RequestOptions.setExclusionList
-------------------------------------------------------------------------
Key: ISPN-4190
URL:
https://issues.jboss.org/browse/ISPN-4190
Project: Infinispan
Issue Type: Task
Components: Core
Affects Versions: 7.0.0.Alpha2
Reporter: Dan Berindei
Fix For: 7.1.0.Alpha1
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.