4.x: Switch all Node API to use List instead of Set by dkropachev · Pull Request #785 · scylladb/java-driver

nikagra

nikagra

@dkropachev

Set - doesn't guarantee the order.
When driver works with Nodes, say read replicas from TokenMap, Tablets,
calculate replicas, API user should expect that order does matter and
preserved.
For that we need to switch all these APIs and internal structures to use
Lists