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 4F56D106B4 for ; Wed, 24 Jul 2013 14:45:53 +0000 (UTC) Received: (qmail 92426 invoked by uid 500); 24 Jul 2013 14:45:52 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 92234 invoked by uid 500); 24 Jul 2013 14:45:52 -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 92190 invoked by uid 99); 24 Jul 2013 14:45:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 14:45:51 +0000 Date: Wed, 24 Jul 2013 14:45:51 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5799) Column can expire while lazy compacting it... 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-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-5799: ---------------------------------------- Affects Version/s: (was: 1.2.7) 1.2.6 > Column can expire while lazy compacting it... > --------------------------------------------- > > Key: CASSANDRA-5799 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5799 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.6 > Reporter: Fabien Rousseau > Assignee: Sylvain Lebresne > Attachments: 5799.txt > > > Using TTL + range tombstones can lead to failure while lazy compacting rows. > Scenario to reproduce : > - create an SSTable with one row and some columns and a TTL of 8 seconds > - wait one second > - create a second SSTable with the same rowkey as above, and add a range tombstone > - start the first pass of the lazy compaction before the columns with TTL are expired > - wait 10 seconds (enough for columns with TTL to expire) > - continue lazy expiration > - the following assertion will fail : > [junit] junit.framework.AssertionFailedError: originally calculated column size of 1379 but now it is 1082 > [junit] at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:150) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira