From user-return-22247-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Oct 1 23:46:25 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 50E7C180677 for ; Mon, 1 Oct 2018 23:46:25 +0200 (CEST) Received: (qmail 34368 invoked by uid 500); 1 Oct 2018 21:46:24 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 34358 invoked by uid 99); 1 Oct 2018 21:46:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2018 21:46:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D48EB1A2156 for ; Mon, 1 Oct 2018 21:46:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7blKLm2IBicA for ; Mon, 1 Oct 2018 21:46:23 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E8B325F24A for ; Mon, 1 Oct 2018 21:46:22 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id E02609BBDC66 for ; Mon, 1 Oct 2018 14:46:21 -0700 (MST) Date: Mon, 1 Oct 2018 14:46:21 -0700 (MST) From: vkulichenko To: user@ignite.apache.org Message-ID: <1538430381914-0.post@n6.nabble.com> In-Reply-To: References: <1538168458347-0.post@n6.nabble.com> Subject: Re: Task failover in ignite MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Prasad, When a primary node for a partition dies, former backup node for this partition becomes new primary. Therefore there is no need to wait for rebalancing in this case, data is already there. By default job will be automatically remapped to that node, but with 'withNoFailover()' you'll have to retry manually. In addition, affinityRun/Call acquires a partition lock for a duration of computation to make sure data is not moved until it's completed. I.e. if there is a new node that becomes a new owner for this partition, data for this partition will not be evicted from previous primary until all collocated computations are done. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/