scylladb / alternator-load-balancing

Various tricks, scripts, and libraries, for load balancing multiple Alternator nodes
Apache License 2.0
18 stars 11 forks source link

Java: validate initial hosts, configuration and nodes loaded from API #45

Closed dkropachev closed 1 week ago

dkropachev commented 1 week ago

Changes:

  1. Store nodes and URI, not as string
  2. Do validation on initial nodes list and on nodes list it reads from API
  3. Don't do AlternatorLiveNodes.start when it is created
  4. Implement AlternatorLiveNodes.validate to check if it is configured properly
dkropachev commented 1 week ago

@nyh, @Bouncheck , could you please take a look at it.