[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. |