Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52D7D18FC5 for ; Wed, 29 Jul 2015 08:54:08 +0000 (UTC) Received: (qmail 61895 invoked by uid 500); 29 Jul 2015 08:54:08 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 61871 invoked by uid 500); 29 Jul 2015 08:54:08 -0000 Mailing-List: contact issues-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list issues@ignite.incubator.apache.org Received: (qmail 61862 invoked by uid 99); 29 Jul 2015 08:54:08 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 08:54:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B7D2B1931B9 for ; Wed, 29 Jul 2015 08:54:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PODPo1uhisIh for ; Wed, 29 Jul 2015 08:54:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id C31A3203A3 for ; Wed, 29 Jul 2015 08:54:05 +0000 (UTC) Received: (qmail 61796 invoked by uid 99); 29 Jul 2015 08:54:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 08:54:05 +0000 Date: Wed, 29 Jul 2015 08:54:04 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-752) Speed up failure detection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda updated IGNITE-752: ------------------------------- Attachment: 475-2.patch failure_detection_timeout_node_left.zip > Speed up failure detection > -------------------------- > > Key: IGNITE-752 > URL: https://issues.apache.org/jira/browse/IGNITE-752 > Project: Ignite > Issue Type: Bug > Reporter: Yakov Zhdanov > Assignee: Denis Magda > Priority: Blocker > Fix For: sprint-7 > > Attachments: 475-2.patch, 882.patch, failure_detection_timeout_node_left.zip, ignite-752.patch > > > I think we can (1) make grid configuration significantly easier and (2) speed up failure detection. > Here are disco SPI configuration properties which are responsible for failure detection: > # reconnectCount, > # sockTimeout, > # networkTImeout, > # ackTImeout, > # maxAckTimeout, > # heartbeatFrequency > # maxMissedHearbeats > Same for communication SPI > # reconnectCount, > # maxConnTimeout, > # connTimeout > So, we have 10 or even more properties. > We did it to address half-opened sockets problem (which is pretty common for cloud environment) and GC pauses which may happen on cluster nodes - we can increase ack timeouts to prevent them from being kicked off the topology. > By setting value for these props I set timeout for failure detection. Why do we need such great number of parameters instead of having 1 on IgniteConfiguration - nodeResponseThreshold (or failureDetectionThreshold - can anyone propose better name?). > All other parameters will be calculated automatically (I think user can still set some of them for full control over situation - need to decide if this is needed.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)