]
Bela Ban resolved JGRP-1959.
----------------------------
Resolution: Done
TCPPING: initial_hosts are not read in the order in which they're
listed
------------------------------------------------------------------------
Key: JGRP-1959
URL:
https://issues.jboss.org/browse/JGRP-1959
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 3.6.5
{{TCPPING}} doesn't contact the members listed in {{initial_hosts}} in the order in
which they are defined. A user might list them in decreasing order of availability, so
this is not optimal.
The reason is that we add {{initial_hosts}} and {{dynamic_hosts}} into a *hashset*, which
causes reordering.
SOLUTION: use an ArrayList and add a presence check.