[jboss-jira] [JBoss JIRA] (JGRP-1959) TCPPING: initial_hosts are not read in the order in which they're listed

Bela Ban (JIRA) issues at jboss.org
Wed Sep 2 05:48:05 EDT 2015


Bela Ban created JGRP-1959:
------------------------------

             Summary: 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list