You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using amazon aurora RDS in my application, with a cluster with 2 endpoints, read and write.
Using Pools, with the host as the cluster endpoint. var pool = mysql.createPool(...); pool.getConnection( connection => connection.query())
When the primary writer endpoint failsover, the driver seems to be using the available reader endpoint, and insert/update fails (makes sense), but it never switches back to the writer, even when it becomes available.