timoninmaxim commented on a change in pull request #8206:
URL: https://github.com/apache/ignite/pull/8206#discussion_r482818928
##########
File path:
modules/core/src/main/java/org/apache/ignite/configuration/ClientConfiguration.java
##########
@@ -115,18 +116,33 @@
/** Reconnect throttling retries. See {@code reconnectThrottlingPeriod}. */
private int reconnectThrottlingRetries = 3;
+ /**
+ * Try use other limited number of channels to send a request if default
channel is not responding.
+ * 0 means try use all configured channels before fail.
+ */
+ private int channelsAttemptsLimit = 0;
Review comment:
I introduced this variable because number of configured nodes
dynamically changes. Earlier user could just configure addresses with limited
number of nodes. With k8s configuration number of nodes are changes. And in
case of large number of non-responding nodes (cluster is down, for example)
without this limit client will wait for a long time for an exception.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]