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 37EA7116DB for ; Tue, 5 Aug 2014 21:41:29 +0000 (UTC) Received: (qmail 297 invoked by uid 500); 5 Aug 2014 21:41:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 263 invoked by uid 500); 5 Aug 2014 21:41:26 -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 252 invoked by uid 99); 5 Aug 2014 21:41:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 21:41:26 +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 rcoli@eventbrite.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 21:41:22 +0000 Received: by mail-lb0-f172.google.com with SMTP id z11so1259714lbi.3 for ; Tue, 05 Aug 2014 14:41:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jaO6ITvmqmOSBtaS2h3o4a/yA71SFmvVJyiBtInyU5Y=; b=fXOatXADVyIEB1zXYf6M64+5IAZI2qVvf47UKc7ZYy+Fu0SSYvMDVjmk71gpRKax20 1Tp95DmSMcfigVl4fHLFqBwD+eIKPTh3kefaqNtP4VvB3diI1mkMQj69DmBe7YAeaj99 OD6BGF8cymEn278nziP6TPx9SgJgAEX6Szllz6cItVkybqAGGWvxm3iV17p6yk87g4d1 KVF97A4bGINU5DwudO77dCYD+fwE1Sr5y4PKbPOUZ0FRHv+eaCjiiVfwp445i6QL5ANE jvfsBoVZ3aHnl8hf95YWRNVfh4snqJfnOuIvQrLVgTP8Y0BC6RFHupg0uDz7vG3C/mOj P9Iw== X-Gm-Message-State: ALoCoQmhCdPvg9NQRK81r1NLrWL1bgD/n7DdKXemcef8BcLJe5mP4sYlbeDwSYfmHqgIYTj/NuV7 MIME-Version: 1.0 X-Received: by 10.112.157.68 with SMTP id wk4mr6817581lbb.85.1407274860653; Tue, 05 Aug 2014 14:41:00 -0700 (PDT) Received: by 10.114.160.212 with HTTP; Tue, 5 Aug 2014 14:41:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Aug 2014 14:41:00 -0700 Message-ID: Subject: Re: Make an existing cluster multi data-center compatible. From: Robert Coli To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a11c2ae0e2bc4ba04ffe8b641 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2ae0e2bc4ba04ffe8b641 Content-Type: text/plain; charset=UTF-8 On Tue, Aug 5, 2014 at 2:27 PM, Rene Kochen wrote: > "As long as you correctly configure the new snitch so that the replica > sets do not change, no, you do not need to repair." > > Is the following correct: > > The replica sets do not change if you modify the snitch from SimpleSnitch > to NetworkTopologyStrategy and the topology file puts all nodes in the same > data-center and rack. > Yes, you can use nodetool getendpoints to illustrate this programatically. 1) make a set of keys with a key from each range 2) getendpoints for this set of keys 3) change snitch 4) getendpoints again =Rob --001a11c2ae0e2bc4ba04ffe8b641 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= ue, Aug 5, 2014 at 2:27 PM, Rene Kochen <rene.kochen@schange.com= > wrote:
"As lo= ng as you correctly configure the new snitch so that the replica sets do no= t change, no, you do not need to repair."

Is the following correct:

The replica sets do not change i= f you modify the snitch from SimpleSnitch to NetworkTopologyStrategy and th= e topology file puts all nodes in the same data-center and rack.

Yes, you can use nodetool getendpoints to = illustrate this programatically.

1) make a set of = keys with a key from each range
2) getendpoints for this set of k= eys
3) change snitch
4) getendpoints again

<= div>=3DRob
=C2=A0
--001a11c2ae0e2bc4ba04ffe8b641--