[CONJ-294] PrepareStatement failover handling : use master connection to a minimum Created: 2016-05-09  Updated: 2016-05-18  Resolved: 2016-05-18

Status: Closed
Project: MariaDB Connector/J
Component/s: Failover
Affects Version/s: all
Fix Version/s: 1.4.5

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


 Description   

When using a PrepareStatement executing on a Aurora replica, and failover append, master can be use temporary.
When a replica is up again, the prepareStatement must fall back again using the replica connection.

Depending on failover parameters, this may take a long time (seen on test about 13~17 minutes with the folowing parameters : validConnectionTimeout=120
socketTimeout=10000
failoverLoopRetries=120
connectTimeout=250
loadBalanceBlacklistTimeout=50)


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