Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAF84102D6 for ; Thu, 20 Jun 2013 18:41:14 +0000 (UTC) Received: (qmail 54646 invoked by uid 500); 20 Jun 2013 18:41:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 54604 invoked by uid 500); 20 Jun 2013 18:41:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 54596 invoked by uid 99); 20 Jun 2013 18:41:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 18:41:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcoli@eventbrite.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 18:41:06 +0000 Received: by mail-qa0-f46.google.com with SMTP id ih17so748102qab.5 for ; Thu, 20 Jun 2013 11:40:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Ob60jHhrSg91Eo8kpMVB5BVBpAJIOaAwCSnKInxu3Tw=; b=QVCOyO1fArDuYgC9ayEISt8eVA+iGNdV06BHOAvwHTpkxfeE0qqNBC8fzlOKVZEhqN suOmTWKaB/lFHREG2VXN7o/Om4cg7VgYjCXfWzi2AmhYvLFOXzcyuMiOaFYHgETf1NvE UyUDvkK9EmcK34wsW2s/1fdVbfiBtoBuBrXJ2r/PqlmBdjowDHOLUDMkMyrVccyIxU8j +wZrFV7tPX+qJfPKKK/WR3bnTb3F+p4O7Xt1GSbzReY2IeFEJHzybPrRVWz9iuOz1oUB K31+mhDBFZ5OLHgYDrd+1tBMkvnEJ4KWEd8XthuKhpResKlMD7aCXIivhnB31w/9WXE4 +2oA== MIME-Version: 1.0 X-Received: by 10.224.167.133 with SMTP id q5mr10594388qay.2.1371753644881; Thu, 20 Jun 2013 11:40:44 -0700 (PDT) Received: by 10.49.5.135 with HTTP; Thu, 20 Jun 2013 11:40:44 -0700 (PDT) In-Reply-To: <1371750027.91197.YahooMailNeo@web162006.mail.bf1.yahoo.com> References: <1371750027.91197.YahooMailNeo@web162006.mail.bf1.yahoo.com> Date: Thu, 20 Jun 2013 11:40:44 -0700 Message-ID: Subject: Re: [Cassandra] Replacing a cassandra node From: Robert Coli To: user@cassandra.apache.org, Emalayan Vairavanathan Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmuIO0X1iKh0lNnrHrw9n1H8WMMws/cVM3SRrMPkcGDoLF9etVV2HAEUAda+dA9q8349Ho5 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jun 20, 2013 at 10:40 AM, Emalayan Vairavanathan wrote: > In the case where replace a cassandra node (call it node A) with another one > that has the exact same IP (ie. during a node failure), what exactly should > we do? Currently I understand that we should at least run "nodetool > repair". If you lost the data from the node, then what you want is "replace_token." If you didn't lose the data from the node (and can tolerate stale reads until the repair completes) you want to start the node with auto_bootstrap set to false and then repair. =Rob