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 CDF90F76D for ; Wed, 20 Mar 2013 18:26:30 +0000 (UTC) Received: (qmail 28958 invoked by uid 500); 20 Mar 2013 18:26:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28940 invoked by uid 500); 20 Mar 2013 18:26:28 -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 28931 invoked by uid 99); 20 Mar 2013 18:26:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 18:26:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kohlisankalp@gmail.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 18:26:23 +0000 Received: by mail-qc0-f182.google.com with SMTP id k19so969795qcs.41 for ; Wed, 20 Mar 2013 11:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=O9Sr8Qvyy2Zp/MYTFKy164XQk/9nHAkb4dvdXEEi7oY=; b=ZQhFidr7NZGWDfymvYUYcLluWWwf2Q70c5zMhQc1fAp/yinC+Eltd4XqAauJsH82eb l8l9P4gj8vXzQoXurTRG13wKJgtEz6nhWAZaOogT9iK7qCW1YLGgZa2CA6cEkC8e5UJi fxnEAocY8I9Xs5SZfNKN0xwOt1b1b566AVzU5DY+4wc7nyWPA4YluOb/SOhmKEzFDcBN oVH9eDHCttwJYExknf2NiApGteqQsmKlRbVz4pMIn/3SXpyeFqmNgKpSeOsyUx4Co6E0 VZHO/2KUn5JXiFrNZV2d44mS0mvY9doYZtK9yBsxMlm8S0h0wJPPelB372MEnSILdKsn QVsw== X-Received: by 10.224.185.148 with SMTP id co20mr3669934qab.94.1363803963059; Wed, 20 Mar 2013 11:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.38.135 with HTTP; Wed, 20 Mar 2013 11:25:43 -0700 (PDT) From: sankalp kohli Date: Wed, 20 Mar 2013 11:25:43 -0700 Message-ID: Subject: Replacing dead node in 1.2 with vnodes To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=485b397dd697c30f1804d85f5a01 X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd697c30f1804d85f5a01 Content-Type: text/plain; charset=ISO-8859-1 Hi, I was reading documentation for replacing a dead node with vnodes ( http://www.datastax.com/docs/1.2/operations/add_replace_nodes#replace-node) Should we not use "removenode" command instead of "removenode force". This is because force will not attempt to do replication which is required because of dead node. This is the documentation for force removal of node in code. /** * Force a remove operation to complete. This may be necessary if a remove operation * blocks forever due to node/stream failure. removeToken() must be called * first, this is a last resort measure. No further attempt will be made to restore replicas. */ Thanks, Sankalp --485b397dd697c30f1804d85f5a01 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0 =A0 I was reading documentation for repl= acing a dead node with vnodes (http://www.datastax.com/docs/1.2= /operations/add_replace_nodes#replace-node)

Should we not use "removenode" co= mmand instead of "removenode force".

This is because force will not attempt to do replication which is = required because of dead node.=A0

This is the documentation for force removal= of node in code.

/**
= =A0 =A0 =A0* Force a remove operation to complete. This may be necessary if= a remove operation
=A0 =A0 =A0* blocks forever due to node/stream failure. removeToken() = must be called
=A0 =A0 =A0* first, this is a last resort measure.= =A0No further attempt will be made to restore replicas.
=A0 =A0 = =A0*/



Thanks,
= Sankalp
--485b397dd697c30f1804d85f5a01--