housepower / ClickHouse-Native-JDBC

ClickHouse Native Protocol JDBC implementation
https://housepower.github.io/ClickHouse-Native-JDBC/
Apache License 2.0
527 stars 145 forks source link

"address.getHostName()" blocking 10+ seconds #431

Open gmxyb opened 1 year ago

gmxyb commented 1 year ago

Environment

File : com/github/housepower/jdbc/ClickHouseConnection.java Line 365 : return new NativeContext.ClientContext(initialAddress, address.getHostName(), clientName);

getHostName() blocking 10~15 seconds. (LAN environment)

pan3793 commented 1 year ago

Maybe related https://bugs.openjdk.org/browse/JDK-8136913