Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 89714 invoked from network); 2 Aug 2010 19:03:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 19:03:47 -0000 Received: (qmail 55658 invoked by uid 500); 2 Aug 2010 19:03:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55610 invoked by uid 500); 2 Aug 2010 19: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 55601 invoked by uid 99); 2 Aug 2010 19:03:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 19:03:45 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jshook@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 19:03:38 +0000 Received: by qyk8 with SMTP id 8so1912483qyk.10 for ; Mon, 02 Aug 2010 12:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kfX83ZUmTzaHJI9QwWi4PWuqPD9zgqEyabj4N/Ox6Mc=; b=wglcigo2GUAIc6ckoE0oB845b03M/b2AfAwjsIlkOS/4vcT803ArfLaIShg/nyxgo4 u5znu5NsrZbEXVPjHmDUw8jJJi+drsS+X2tDm8KG7EBb0WApiD0/aYY+6gA4/YgiSsJ8 V63h4pKDeBubUUTW25rl7fyyafEvJTqZhoJp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=epg3dw1UHzNUay8zyW7cptRtJxSZNfaurXoR5K/fzHhkHwaTx6qNBfyj+kBh4cNRaQ Wb8P2FpWeIp6rzDb3HT2LNZZFA3EmrAsF8GV/xprLx5mka3HkWNEEB9nwoY8o/6OTM64 RewWyVHq1as3VudVsGj1B4lPZdLSC/OnPj1QY= MIME-Version: 1.0 Received: by 10.229.250.208 with SMTP id mp16mr433697qcb.131.1280775797954; Mon, 02 Aug 2010 12:03:17 -0700 (PDT) Received: by 10.229.71.164 with HTTP; Mon, 2 Aug 2010 12:03:17 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Aug 2010 14:03:17 -0500 Message-ID: Subject: Re: how to recover cassandra data From: Jonathan Shook To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Don't forget about the tombstones. (delete markers) They are still present on the other two nodes, then they will replicate to the 3rd node and finish off your deleted data. On Mon, Aug 2, 2010 at 9:30 AM, Edward Capriolo wro= te: > On Mon, Aug 2, 2010 at 9:11 AM, john xie wrote: >> ReplicationFactor =3D 3 >> one day i stop 192.168.1.147 and remove cassandra data by mistake, can i >> recover =A0192.168.1.147's cassadra data by restart cassandra ? >> >> >> =A0=A0 >> =A0=A0 =A0 =A0 =A0/data1/cassandra/ >> =A0=A0 =A0 =A0 =A0/data2/cassandra/ >> =A0=A0 =A0 =A0 =A0/data3/cassandra/ >> =A0=A0 =A0 >> /data3 =A0mount =A0/dev/sdd >> i remove /data3 and =A0formatt /dev/sdd >> >> Address =A0 =A0 =A0 Status =A0 =A0 Load =A0 =A0 =A0 =A0 =A0Range >> =A0 =A0 =A0Ring >> >> 135438270110006521520577363629178401179 >> 192.168.1.148 Up =A0 =A0 =A0 =A0 50.38 GB >> =A052435029392953385124849742453833332898 =A0 =A0 |<--| >> 192.168.1.145 Up =A0 =A0 =A0 =A0 48.38 GB >> =A063161078970569359253391371326773726097 =A0 =A0 | =A0 | >> 192.168.1.147 ? =A0 =A0 =A0 =A0 =A023.5 GB >> 79546317728707787532885001681404757282 =A0 =A0 | =A0 | >> 192.168.1.146 Up =A0 =A0 =A0 =A0 26.34 GB >> =A0135438270110006521520577363629178401179 =A0 =A0|-->| >> >> >> >> >> >> > > Since you have a replication factor of three if you bring a new node > through auto-bootstrap data will migrate back to it since it has two > copies. Nothing is lost. >