Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0918110499 for ; Tue, 24 Feb 2015 01:22:20 +0000 (UTC) Received: (qmail 38830 invoked by uid 500); 24 Feb 2015 01:22:14 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 38794 invoked by uid 500); 24 Feb 2015 01:22:14 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 38780 invoked by uid 99); 24 Feb 2015 01:22:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 01:22:14 +0000 Date: Tue, 24 Feb 2015 01:22:14 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8838) Resumable bootstrap streaming 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/CASSANDRA-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334212#comment-14334212 ] Yuki Morishita commented on CASSANDRA-8838: ------------------------------------------- Updated branch with new commit because I found one mistake: https://github.com/yukim/cassandra/tree/8838 IIRC hints are already stored even when bootstrapping node goes down and down time is within max hint window. In my opinion, bootstrap streaming failure happens more when streaming source goes down, rather than bootstrapping node goes down. When that happens, whole bootstrap process fails in current versions. I'm working on to prevent whole process failure and instead going to the same state as 'write survey mode' and nodetool that resume failed streaming from that state. > Resumable bootstrap streaming > ----------------------------- > > Key: CASSANDRA-8838 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8838 > Project: Cassandra > Issue Type: Sub-task > Reporter: Yuki Morishita > Assignee: Yuki Morishita > Priority: Minor > Fix For: 3.0 > > > This allows the bootstrapping node not to be streamed already received data. > The bootstrapping node records received keyspace/ranges as one stream session completes. When some sessions with other nodes fail, bootstrapping fails also, though next time it re-bootstraps, already received keyspace/ranges are skipped to be streamed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)