yugabyte / jdbc-yugabytedb

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

Bug: Can't detect useHostColumn when connecting with hostname rather than IP #16

Open FranckPachot opened 2 years ago

FranckPachot commented 2 years ago

When we connect with hostname rather than IP addess we get: WARNING: TopologyAwareLoadBalancer: Either private or public should have matched with one of the servers This is caused by getCurrentServers comparing the host in the url (hostConnectedTo with the IP in yb_servers()

Driver Version: 42.3.0

ashetkar commented 2 years ago

The fix will be available in 42.3.4