Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F285911D9B for ; Sat, 3 May 2014 15:20:16 +0000 (UTC) Received: (qmail 92738 invoked by uid 500); 3 May 2014 15:20:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 92687 invoked by uid 500); 3 May 2014 15:20:14 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 92677 invoked by uid 99); 3 May 2014 15:20:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 15:20:14 +0000 Date: Sat, 3 May 2014 15:20:14 +0000 (UTC) From: "Rodion (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7146) Cassandra returns to life deleted entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rodion updated CASSANDRA-7146: ------------------------------ Fix Version/s: (was: 2.0.7) > Cassandra returns to life deleted entries > ----------------------------------------- > > Key: CASSANDRA-7146 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7146 > Project: Cassandra > Issue Type: Bug > Reporter: Rodion > Fix For: 2.0.7 > > > I'm testing Cassandra Version: 2.1.0~beta1 and getting into a very strange thing. > This is my schema: > CREATE TABLE userlines ( > username text, > time timeuuid, > msg_id uuid, > PRIMARY KEY (username, time) > ) WITH CLUSTERING ORDER BY (time DESC) > First, I'm trying to INSERT something into this empty Columns Family: > cqlsh:cequel> select * from userlines; > > (0 rows) > > cqlsh:cequel> INSERT INTO userlines (username, msg_id, time) VALUES ('admin', ad18dbf8-d2bc-11e3-9bc1-47ba2f5b0f02, c9553f3c-d2bc-11e3-b650-255df2f099c5); > cqlsh:cequel> select * from userlines; > > username | time | msg_id > ----------+--------------------------------------+-------------------------------------- > admin | c9553f3c-d2bc-11e3-b650-255df2f099c5 | ad18dbf8-d2bc-11e3-9bc1-47ba2f5b0f02 > > (1 rows) > Then DELETE this entry: > > cqlsh:cequel> DELETE FROM userlines WHERE username = 'admin' and time = c9553f3c-d2bc-11e3-b650-255df2f099c5; > cqlsh:cequel> select * from userlines; > > (0 rows) > And then INSERT same entry, but increment the last digit of Time column: > > cqlsh:cequel> INSERT INTO userlines (username, msg_id, time) VALUES ('admin', ad18dbf8-d2bc-11e3-9bc1-47ba2f5b0f02, c9553f3c-d2bc-11e3-b650-255df2f099c6); > cqlsh:cequel> select * from userlines; > > username | time | msg_id > ----------+--------------------------------------+-------------------------------------- > admin | c9553f3c-d2bc-11e3-b650-255df2f099c6 | ad18dbf8-d2bc-11e3-9bc1-47ba2f5b0f02 > admin | c9553f3c-d2bc-11e3-b650-255df2f099c5 | ad18dbf8-d2bc-11e3-9bc1-47ba2f5b0f02 > > (2 rows) > Now, after inserting just a one entry, I get two. > So, an old entry returns after another INSERT operation. > In Version 2.0.7 All is fine. -- This message was sent by Atlassian JIRA (v6.2#6252)