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 77DAADB59 for ; Sat, 3 Nov 2012 21:24:26 +0000 (UTC) Received: (qmail 54989 invoked by uid 500); 3 Nov 2012 21:24:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 54965 invoked by uid 500); 3 Nov 2012 21:24:24 -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 54957 invoked by uid 99); 3 Nov 2012 21:24:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2012 21:24:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of horschi@gmail.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2012 21:24:19 +0000 Received: by mail-oa0-f44.google.com with SMTP id n5so5014687oag.31 for ; Sat, 03 Nov 2012 14:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gmueXT4814UoB3TBthWXYh0NEM7AgVb3VUnRpxVKO1k=; b=n3OPfkE0ZXV22Iq9lZ6W0OaLXtKSTP/8pU0zyWWAzEwa/WzHOLitdrif/hd+Dm/P/2 q2RbbbLEH+Lye0zb8sXUN8SPP6l/vPH065mL6ARpPYLF+4m3HfIAS6xIBLaLXvfRwEIn ENCOaDjuQHbeofz9dAfD42lL9O0qM6oGtPSEQ+tYzk2qGX2amxpjmOoSIDMFa62fQoLy 2dkyPAaKike4t2KHWLd3CCHW0FoK/bQ0me3GbohhpGknY/RX9PB27N3asQwDf2Jr45Pv 7r4IABOApsgz55ih66WtaSAP0foBzBcrE9dSeqmMr8eMerDngdmTFzPYYgfzI2dI9GOD g+ug== MIME-Version: 1.0 Received: by 10.182.38.69 with SMTP id e5mr4497447obk.79.1351977838321; Sat, 03 Nov 2012 14:23:58 -0700 (PDT) Received: by 10.60.22.40 with HTTP; Sat, 3 Nov 2012 14:23:58 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Nov 2012 22:23:58 +0100 Message-ID: Subject: Re: repair, compaction, and tombstone rows From: horschi To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d04462f0ecc1fb004cd9ddeed X-Virus-Checked: Checked by ClamAV on apache.org --f46d04462f0ecc1fb004cd9ddeed Content-Type: text/plain; charset=ISO-8859-1 Sure, created CASSANDRA-4905. I understand that these tombstones will be still streamed though. Thats fine with me. Do you mind if I ask where you stand on making... - ... ExpiringColumn not create any tombstones? Imo this could be safely done if the columns TTL is >= gcgrace. That way it is ensured that repair ran and any previous un-TTLed columns were overwritten. - ... ExpiringColumn not add local timestamp to digest? Cheers, Christian On Sat, Nov 3, 2012 at 8:37 PM, Sylvain Lebresne wrote: > On Fri, Nov 2, 2012 at 10:46 AM, horschi wrote: > > might I ask why repair cannot simply ignore anything that is older than > > gc-grace? (like Aaron proposed) > > Well, actually the merkle tree computation could probably ignore > gcable tombstones without much problem, which might not be such a bad > idea and would probably solve much of your problem. However, when we > stream the ranges that needs to be repaired, we stream sub-part of the > sstables without deserializing them, so we can't exclude the gcable > tombstones in that phase (that is, it's a technical reason, but > deserializing data would be inefficient). Meaning that if we won't > guarantee that you won't ever stream gcable tombstones. > > But excluding gcable tombstones from the merkle-tree computation is a > good idea. Would you mind opening a JIRA ticket? > > -- > Sylvain > --f46d04462f0ecc1fb004cd9ddeed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sure, created CASSANDRA-4905. I understand that these tombstones will be st= ill streamed though. Thats fine with me.

Do you mind if I ask where = you stand on making...
- ... ExpiringColumn not create any tombstones? I= mo this could be safely done if the columns TTL is >=3D gcgrace. That wa= y it is ensured that repair ran and any previous un-TTLed columns were over= written.
- ... ExpiringColumn not add local timestamp to digest?

Cheers,
C= hristian



--f46d04462f0ecc1fb004cd9ddeed--