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 8F196744C for ; Sun, 16 Oct 2011 20:03:47 +0000 (UTC) Received: (qmail 68495 invoked by uid 500); 16 Oct 2011 20:03:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 68464 invoked by uid 500); 16 Oct 2011 20:03:45 -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 68456 invoked by uid 99); 16 Oct 2011 20:03:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2011 20:03:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a59.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2011 20:03:38 +0000 Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id 8289F564058 for ; Sun, 16 Oct 2011 13:03:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=OU89uTJ/Dh8Se3jDg/WrjJzpatQHm/9QrjMMGePhwwb iyhR7wFDr7CU47dj1aqJ1ZK8EbCv3EInuFNVzmhrU/0Zybrv96HVfKzCgsZgbsqx BgNMtxlt+XcGyUfa6MC6tSGdukV2Z3cbZ1wnBBfgu0V+xYpL5N8B5TdETfN2gS1s = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=jfh/FUwBGcb0lUr3kZPhYv0i2d8=; b=stHlWpMQy9 pBk6qm8zKr1DVZhoXvYgz6kFxbElcCOGkwKHHT5wrxsBXFLzmw+o58O0yI/Zk7W2 bZYVVjjYiQ3mDX5jbJV+DcEh6pyzVj1Wwsi51TIyUxEr/w/OpWeQ3+XrGFvdLfzY 31HtayAZqvNCuPaaga7sHO3kiDqFTO5c8= Received: from [172.16.1.4] (125-236-193-159.adsl.xtra.co.nz [125.236.193.159]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 23ECE564057 for ; Sun, 16 Oct 2011 13:03:10 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Restore snapshots suggestion From: aaron morton In-Reply-To: <4E97678E.80709@netseer.com> Date: Mon, 17 Oct 2011 09:03:09 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: <9C48D752-91FD-4CF4-B94C-63D0FF6AAE91@thelastpickle.com> References: <4E97678E.80709@netseer.com> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org Pass -Dcassandra.join_ring=3Dfalse via the command line (at the bottom = of cassnadra-env.sh) That will stop the node joining the ring. The node will still take = requests from clients, but will only be able to serve requests at CL One = for the keys it is a replica for. Other in the cluster will not send = traffic to it.=20 use `nodetool join` to get it back into the ring.=20 Cheers =20 ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 14/10/2011, at 11:34 AM, Daning wrote: > If I need to restore snapshots from all nodes, but I can only shutdown = one node a time since it is production, is there a way I can stop data = syncing between nodes temporarily? I don't want the existing data = overwrites the snapshot. I found this undocumented parameter = DoConsistencyChecksBoolean(http://www.datastax.com/dev/blog/whats-new-cass= andra-066) to disable read repair, what is the proper way to do it? >=20 >=20 > I am on 0.8.6. >=20 > Thank you in advance, >=20 > Daning