Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A388E200C63 for ; Thu, 11 May 2017 21:41:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A21E7160BC7; Thu, 11 May 2017 19:41:10 +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 E7BD0160BB3 for ; Thu, 11 May 2017 21:41:09 +0200 (CEST) Received: (qmail 43021 invoked by uid 500); 11 May 2017 19:41:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 43010 invoked by uid 99); 11 May 2017 19:41:09 -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; Thu, 11 May 2017 19:41:09 +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 9A4901A0759 for ; Thu, 11 May 2017 19:41:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 94oJDWkOQ0uh for ; Thu, 11 May 2017 19:41:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0E3F95FDCB for ; Thu, 11 May 2017 19:41:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E392EE0D64 for ; Thu, 11 May 2017 19:41:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5B99921E15 for ; Thu, 11 May 2017 19:41:04 +0000 (UTC) Date: Thu, 11 May 2017 19:41:04 +0000 (UTC) From: =?utf-8?Q?Andr=C3=A9s_de_la_Pe=C3=B1a_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-10130) Node failure during 2i update after streaming can have incomplete 2i when restarted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 May 2017 19:41:10 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-10130?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16007042#comment-16007042 ]=20 Andr=C3=A9s de la Pe=C3=B1a edited comment on CASSANDRA-10130 at 5/11/17 7:= 40 PM: ------------------------------------------------------------------------ [~sbtourist], I think you are right, this could make things much easier :) Here is the updated patch: ||[trunk|https://github.com/apache/cassandra/compare/trunk...adelapena:1013= 0-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/ade= lapena-10130-trunk-testall/]|[dtests|http://cassci.datastax.com/view/Dev/vi= ew/adelapena/job/adelapena-10130-trunk-dtest/]| I have also updated [the dtest|https://github.com/riptano/cassandra-dtest/c= ompare/master...adelapena:CASSANDRA-10130] to be sure that it is still poss= ible to query the index when it is not marked as built. [~pauloricardomg], what do you think? Are we missing something? The idea ab= out adding a status to the index info table looked nice for future changes.= At least we could have renamed the column containing the keyspace name as = {{keyspace_name}} instead of {{table_name}}. was (Author: adelapena): [~sbtourist], I think you are right, this could make things much easier :) Here is the updated patch: ||[trunk|https://github.com/apache/cassandra/compare/trunk...adelapena:1013= 0-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/ade= lapena-10130-trunk-testall/]|[dtests|http://cassci.datastax.com/view/Dev/vi= ew/adelapena/job/adelapena-10130-trunk-dtest/]| I have also updated [the dtest|https://github.com/riptano/cassandra-dtest/c= ompare/master...adelapena:CASSANDRA-10130] to be sure that it is still poss= ible to query the index when it is not marked as built. > Node failure during 2i update after streaming can have incomplete 2i when= restarted > -------------------------------------------------------------------------= ---------- > > Key: CASSANDRA-10130 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1013= 0 > Project: Cassandra > Issue Type: Bug > Components: Coordination > Reporter: Yuki Morishita > Assignee: Andr=C3=A9s de la Pe=C3=B1a > Priority: Minor > > Since MV/2i update happens after SSTables are received, node failure duri= ng MV/2i update can leave received SSTables live when restarted while MV/2i= are partially up to date. > We can add some kind of tracking mechanism to automatically rebuild at th= e startup, or at least warn user when the node restarts. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org