Drivers: Randomize connection order with DNS in connection string

Details

Detail name Value
Changelog Number 15085
Type Improvement
Status Resolved
Fix Versions Exasol 7.1.14, Exasol 8.6.0
Resolution Date 2022-09-21

Background

When more than one host is specified in the connection string, the order in which the driver tries to connect to them is random.
If the connection string contains a single DNS entry resolving to multiple IP addresses, the order which the driver tries to connect to the IP addresses within the DNS entry was the network order (e.g. round robin).

Improvement

If the connection string contains a single DNS entry resolving to multiple IP addresses, the order in which the driver tries to connect to the IP addresses within the DNS entry is also randomized.