[CONJ-1091] can't make a connection when the Read Replica DB is in a hang state when SocketTimeout=0 set Created: 2023-07-21 Updated: 2023-08-28 Resolved: 2023-07-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | 2.7 compatibility, Failover |
| Affects Version/s: | 2.7.9 |
| Fix Version/s: | 3.2.0, 2.7.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | choi heesung | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
We are using Maria Driver 2.6.2 version to connect MariaDB and Aurora. For Aurora, we configured the primary DB and ReadOnly replica DB using the 'Aurora' keyword, while for MariaDB, we used the 'Replication' keyword for configuration. Here are the connection details we used: MariaDB: Aurora: [Problem] [Trial 1] [Trial 2] When attempting to create a connection, primary1 is successfully acquired, but replica1 gets stuck in a hang state as it does not receive a response in ReadInitialHandShakePacket(reader). [Request] |
| Comments |
| Comment by Diego Dupin [ 2023-07-25 ] | |||||||||||||||
|
This is a strange case to have socket successful established, but packet not exchanged, but this can clearly occurs when using proxy. | |||||||||||||||
| Comment by Diego Dupin [ 2023-07-25 ] | |||||||||||||||
|
correction available using snapshot (3.2.0-SNAPSHOT or 2.7.10-SNAPSHOT)
| |||||||||||||||
| Comment by choi heesung [ 2023-07-25 ] | |||||||||||||||
|
Thank you for reply. The snapshot version resolved the problem and worked accurately. |