[CONJ-241] Aurora Connection.isValid specific implementation Created: 2016-01-11  Updated: 2023-12-14  Resolved: 2023-12-14

Status: Closed
Project: MariaDB Connector/J
Component/s: Failover
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Won't Do Votes: 0
Labels: None


 Description   

An additional thread is created when setting the option "validConnectionTimeout".
This thread verify that connections are all active.
Using This is normally done by pool that call Connection.isValid()

Since Aurora role of each instance can change over time, this will validate that connection are active AND role have not changed.

It will be better to avoid this additionnal thread, and implement a specific validation (Connection.isValid()) for aurora, so pool can use this without having a specific thread.



 Comments   
Comment by Diego Dupin [ 2023-12-14 ]

aurora is in maintenance mode for 2.x and not supported anymore in 3.x version, so closing feature request

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