Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Mysqlconnector/J for PXC cluster (3 replies)

$
0
0
I have three Mysql 5.6.22 nodes in a PXC setup.
I have configured mysqlconnector/J 5.1.38 for automatic fail-over in Jboss servers.

The only problem I see is with fallbacks. The requirement is to not have connections to multiple nodes because of deadlock occurrences.

In my jboss server, I configured jdbc:mysql://nod1,node2,node3/pe2e with the property secondsBeforeRetryMaster set to 5. When node3 goes down, connections immediately failover on node2, but on resurrecting node3, the connections take a while to move back to node 3. In that time period, connections are found on two nodes. Is there a way to speed-up fallback to master?
The other question I have, is mysqlconnector recommended for a PXC setup over F5?

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>