[
https://issues.jboss.org/browse/JGRP-2224?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-2224:
--------------------------------
The order is the order of listing the protocols _below_ {{MULTI_PING}}, e.g. in the above
case, {{FILE_PING}} will be invoked first.
However, if you set {{async_discovety=true}}, then it doesn't matter, as each protocol
will be invoked in a separate thread.
Re merging: the {{Responses}} object takes care of that: a response from a coordinator
overwrites existing entries, and otherwise responses from thye same member are only
counted once. All elements are of type {{PingData}} and as such are comparable (by sender
address).
The discovery protocol typically returns when at least 1 coordinator response has been
received, otherwise it waits for the timeout to kick in.
Multiple discovery protocols
----------------------------
Key: JGRP-2224
URL:
https://issues.jboss.org/browse/JGRP-2224
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 4.0.8
Allow for multiple discovery protocols. This would allow us to use a single configuration
which includes discovery protocols for multiple cloud providers.
The discovery protocols could be queried sequentially (return on result), or in
parallel.
Investigate whether we need a super discovery protocol which instantiates the individual
protocols, or whether each protocol should be changed e.g. to forward events down the
stack.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)