maxReconnects option

Hello All,

We were using Mysql connector for MariaDB and in the connection string we had: autoReconnect=true and maxReconnects=100 https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html

Now that we use MariaDB connector, it seems that maxReconnects is no more available. <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>2.1.1</version> </dependency> https://mariadb.com/kb/en/library/about-mariadb-connector-j/

We tried retriesAllDown, failoverLoopRetries but doesn't seem to work as expected.

What would be the best option to replace maxReconnects ?

Thank you

Answer Answered by Diego Dupin in this comment.

That is now corrected (https://jira.mariadb.org/browse/CONJ-529) in version 2.2.1.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.