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?
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?