yugabyte / jdbc-yugabytedb

JDBC Driver for Yugabyte SQL (YSQL)
BSD 2-Clause "Simplified" License
17 stars 7 forks source link

Handles concurrent attempt to connect also well for load balancing. #6

Closed kneeraj closed 3 years ago

kneeraj commented 3 years ago

In cases where connection attempts from a large number of threads will happen concurrently then the load balancing logic was not doing a great job leading to a skew. This change fixes it. It also fixes the new property 'load-balance' and 'topology-keys' being passed in property bag. There was an issue there where it was getting ignored.