Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 5540 invoked from network); 27 Apr 2010 21:38:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 21:38:28 -0000 Received: (qmail 31388 invoked by uid 500); 27 Apr 2010 21:38:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31372 invoked by uid 500); 27 Apr 2010 21:38: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 31364 invoked by uid 99); 27 Apr 2010 21:38:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:38:26 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:38:21 +0000 Received: by gwaa12 with SMTP id a12so3548572gwa.31 for ; Tue, 27 Apr 2010 14:38:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.186.13 with SMTP id j13mr2952391agf.93.1272404278160; Tue, 27 Apr 2010 14:37:58 -0700 (PDT) Received: by 10.90.55.19 with HTTP; Tue, 27 Apr 2010 14:37:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Apr 2010 17:37:58 -0400 Message-ID: Subject: Re: Cassandra reverting deletes? From: Joost Ouwerkerk To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Clocks are in sync: cluster04:~/cassandra$ dsh -g development "date" Tue Apr 27 17:36:33 EDT 2010 Tue Apr 27 17:36:33 EDT 2010 Tue Apr 27 17:36:33 EDT 2010 Tue Apr 27 17:36:33 EDT 2010 Tue Apr 27 17:36:34 EDT 2010 Tue Apr 27 17:36:34 EDT 2010 Tue Apr 27 17:36:34 EDT 2010 Tue Apr 27 17:36:34 EDT 2010 Tue Apr 27 17:36:34 EDT 2010 Tue Apr 27 17:36:35 EDT 2010 Tue Apr 27 17:36:35 EDT 2010 Tue Apr 27 17:36:35 EDT 2010 On Tue, Apr 27, 2010 at 5:35 PM, Nathan McCall wro= te: > Have you confirmed that your clocks are all synced in the cluster? > This may be the result of an unintentional read-repair occurring if > that were the case. > > -Nate > > On Tue, Apr 27, 2010 at 2:20 PM, Joost Ouwerkerk w= rote: >> Hmm... Even after deleting with cl.ALL, I'm getting data back for some >> rows after having deleted them. =A0Which rows return data is >> inconsistent from one run of the job to the next. >> >> On Tue, Apr 27, 2010 at 1:44 PM, Joost Ouwerkerk = wrote: >>> To check that rows are gone, I check that KeySlice.columns is empty. = =A0And as >>> I mentioned, immediately after the delete job, this returns the expecte= d >>> number. >>> Unfortunately I reproduced with QUORUM this morning. =A0No node outages= . =A0I am >>> going to try ALL to see if that changes anything, but I am starting to >>> wonder if I'm doing something else wrong. >>> On Mon, Apr 26, 2010 at 9:45 PM, Jonathan Ellis wro= te: >>>> >>>> How are you checking that the rows are gone? >>>> >>>> Are you experiencing node outages during this? >>>> >>>> DC_QUORUM is unfinished code right now, you should avoid using it. >>>> Can you reproduce with normal QUORUM? >>>> >>>> On Sat, Apr 24, 2010 at 12:23 PM, Joost Ouwerkerk >>>> wrote: >>>> > I'm having trouble deleting rows in Cassandra.=A0 After running a jo= b that >>>> > deletes hundreds of rows, I run another job that verifies that the r= ows >>>> > are >>>> > gone.=A0 Both jobs run correctly.=A0 However, when I run the verific= ation >>>> > job an >>>> > hour later, the rows have re-appeared.=A0 This is not a case of "gho= sting" >>>> > because the verification job actually checks that there is data in t= he >>>> > columns. >>>> > >>>> > I am running a cluster with 12 nodes and a replication factor of 3.= =A0 I >>>> > am >>>> > using DC_QUORUM consistency when deleting. >>>> > >>>> > Any ideas? >>>> > Joost. >>>> > >>>> >>>> >>>> >>>> -- >>>> Jonathan Ellis >>>> Project Chair, Apache Cassandra >>>> co-founder of Riptano, the source for professional Cassandra support >>>> http://riptano.com >>> >>> >> >