In OCP and cross-site (RELAY2) we have a use case where the Infinispan
cluster is started before the remote cross-site service.
The method RELAY2#startRelayer() fails because JGroups tries to resolve
the hostnames while parsing the initial_host[1] from the configuration
file. It throws the followin exception
java.net.UnknownHostException: <host>: Name or service not known
As a result, the xsite is never formed because the SiteMaster's RELAY2
doesn't have a channel, even if we start the other site later.
Would it be possible to add support for unresolved addresses in
TCPPING.initial_host?
I'm thinking about using InetSocketAddress in "initial_host" list and,
in TCPPING#findMembers(), check for unresolved address
(InetSocketAddress#isUnresolved()) and try to resolve the missing one
on demand. If it isn't resolved, that entry is ignored in that round.