You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Steshin (Jira)" <ji...@apache.org> on 2020/05/15 13:29:00 UTC
[jira] [Created] (IGNITE-13016) Remove hardcoded values/timeouts
from backward checking of failed node.
Vladimir Steshin created IGNITE-13016:
-----------------------------------------
Summary: Remove hardcoded values/timeouts from backward checking of failed node.
Key: IGNITE-13016
URL: https://issues.apache.org/jira/browse/IGNITE-13016
Project: Ignite
Issue Type: Sub-task
Reporter: Vladimir Steshin
Assignee: Vladimir Steshin
Backward checking of failed node rely on hardcoced timeout 100ms:
{code:java}
private boolean ServerImpls.isConnectionRefused(SocketAddress addr) {
try (Socket sock = new Socket()) {
sock.connect(addr, 100);
}
catch (ConnectException e) {
return true;
}
catch (IOException e) {
return false;
}
return false;
}
{code}
We should make it bound to configurable params like IgniteConfiguration.failureDetectionTimeout
--
This message was sent by Atlassian Jira
(v8.3.4#803005)