From user-return-17776-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Feb 13 02:16:19 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8E672180652 for ; Tue, 13 Feb 2018 02:16:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7DE3D160C62; Tue, 13 Feb 2018 01:16:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C2F3A160C3F for ; Tue, 13 Feb 2018 02:16:18 +0100 (CET) Received: (qmail 37135 invoked by uid 500); 13 Feb 2018 01:16:17 -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 37116 invoked by uid 99); 13 Feb 2018 01:16:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2018 01:16:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0C235C0042; Tue, 13 Feb 2018 01:16:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.129 X-Spam-Level: ** X-Spam-Status: No, score=2.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id t2yGb5nhYh2f; Tue, 13 Feb 2018 01:16:15 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2D7385F398; Tue, 13 Feb 2018 01:16:15 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id 8so12644646oix.7; Mon, 12 Feb 2018 17:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qWZvUV73QsEGI1bhieQRJ+meumdq4rMCnJv3BZV+Ee0=; b=Xmd13KAHJ+J7WsuQzPKjrA0q1HwJKleAhbhJpLiP7k8vskHG4qln7wTE0IZ9elJ2BQ ogPGN6OCVApgory69bI1qvmmGixxv0HSCh4ITRbIx8i3FAh6Hl5PpgKPmXikUMz2hhwN 7DvKMY9AusgQ+BQ/Qitjnh2AaUNXJMS9SUAXyO1ddCrsB1ajjRlYwqeOyMoZVi/zFxk2 TsflPp93fIQOqvaOhKBJgtwD1ma+ZKyHxNvY3J6FXDFjMRB9V1lIB02x/jhHdOWjADWA k4uYPYlnwRshzEjoNJpgsd7ksvxUgijDejTOr5a8cThrphzPfk/jmmm1wdKmZXkGgpDR 8l5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qWZvUV73QsEGI1bhieQRJ+meumdq4rMCnJv3BZV+Ee0=; b=iZvddxy40qhHlYFp9IVXBKnUHMc/lomtuGIVriUzJMII0rAb8oZlJ89Oy0/pozBOrH 437IFqSs1QhDDciNxgWkkIAB8nNni3uQ78fhsu14a+b/42H/zTqIxTLPFt320iAzZNb9 RebZhsKJSB3cEYqyPEwGYoiC7u9kJtUuHRO6eGNTw9ryWbAmyYzif+ELVoQdXmbJlqe2 Z90nAHpk0DzjtpbdDnRfbAMLsQzoi2sczQlogSs4Nqa5kCWa+kKIUuaqVr19oSuGJCek zkxLSb+6xDs0oODiUm7HX3iMf90Wez68qHyS01sfT/U/OutXxRd2IBUdegzcI5/9Q+r7 jIiA== X-Gm-Message-State: APf1xPC0HoWECGe5WzMEqU7sosv8qE0I0Mbo8qqyw1k5YylEg4HEtvXQ eAIDoJl3s5JLmJXE71S4iWy2NP+ECSaQRaJj4qb3Eg== X-Google-Smtp-Source: AH8x225qhyVirhqHCHYI2deLqS75nIZktvdZL0B6BdxvUMDB9dqqsCp0yEqwkm8Qw2I2xtgWdyk03rxhih1U2QD5wzI= X-Received: by 10.202.49.73 with SMTP id x70mr9117681oix.351.1518484567759; Mon, 12 Feb 2018 17:16:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.23.230 with HTTP; Mon, 12 Feb 2018 17:16:07 -0800 (PST) From: John Wilson Date: Mon, 12 Feb 2018 17:16:07 -0800 Message-ID: Subject: What happens if Primary Node fails during the Commit Phase To: dev@ignite.apache.org, user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113cd80e421ea305650dbd75" --001a113cd80e421ea305650dbd75 Content-Type: text/plain; charset="UTF-8" Hi, Assume the Prepare phase has completed and that the primary node has received a commit message from the coordinator. Two questions: 1. A primary node commits a transaction before it forwards a commit message to the backup nodes. True? 2. What happens if a Primary Node fails while it is committing but before the commit message is sent to backup nodes? Do the backup nodes commit after some timeout or will they send a fail message to the coordinator? The doc below provides a nice description but doesn't exactly answer my question. https://www.gridgain.com/resources/blog/apache-ignite-transactions-architecture-failover-and-recovery Thanks, --001a113cd80e421ea305650dbd75 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Assume the Prepare phase has comple= ted and that the primary node has received a commit message from the coordi= nator.=C2=A0

Two questions:
  1. A pr= imary node commits a transaction before it forwards a commit message to the= backup nodes. True?
  2. What happens if a Primary Node fails while it = is committing but before the commit message is sent to backup nodes? Do the= backup nodes commit after some timeout or will they send a fail message to= the coordinator?
The doc below provides a nice descrip= tion but doesn't exactly answer my question.

<= a href=3D"https://www.gridgain.com/resources/blog/apache-ignite-transaction= s-architecture-failover-and-recovery">https://www.gridgain.com/resources/bl= og/apache-ignite-transactions-architecture-failover-and-recovery

Thanks,
--001a113cd80e421ea305650dbd75--