[CONJ-907] Failover during connection RESET command just throw exception Created: 2021-12-13  Updated: 2022-02-14  Resolved: 2022-02-14

Status: Closed
Project: MariaDB Connector/J
Component/s: Failover
Affects Version/s: 2.7.4
Fix Version/s: 2.7.5

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


 Description   

(this only affect current version. New 3.x failover doesn't have this issue)

When connection fails with any HA mode set, driver will reconnect to a new server, and when possible doesn't throw any exception. There is one exception, for connection RESET. In current implementation, driver will throw exception without reconnection.

In this specific case, driver must just reconnect to available server, and use fresh connection.


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