java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

4.x: Switch all Node API to use List instead of Set

Open dkropachev opened this issue 1 month ago • 0 comments

Set - doesn't guarantee order of elements. 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

Fix: https://github.com/scylladb/java-driver/issues/786

dkropachev avatar Jan 13 '26 03:01 dkropachev