[CONJ-958] loop through hosts when multiple host Created: 2022-04-11  Updated: 2022-05-03  Resolved: 2022-04-11

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 3.0.5

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Java connector 2.7 and 3.0 behavior when having multiple host without failover prefix differ.

2.7 loop sequentially hosts until successfully establishing a connection (there isn't any failover, this only concerns connection)
3.0 only tries with first host.

For compatibility, 3.0 must behave like 2.7



 Comments   
Comment by Diego Dupin [ 2022-04-11 ]

done with commit https://github.com/mariadb-corporation/mariadb-connector-j/commit/bb30bc30426db25a51787b3fe0c143eb3cf1b185

Generated at Thu Feb 08 03:19:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.