Description
Thin JDBC driver uses a list of server addresses to connect to. Connections created in a single JVM will use round-robin to choose the server to connect, yielding a uniform distribution. However, the round-robin always starts from the first server in the list. It means that multiple JVMs with the same JDBC connection URL and one connection each will all connect to the same server.
Need to choose the first server randomly to have a better distribution.
Attachments
Issue Links
- links to