Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A121C200C63 for ; Thu, 11 May 2017 16:16:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9FB39160BC7; Thu, 11 May 2017 14:16:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E399E160BB2 for ; Thu, 11 May 2017 16:16:17 +0200 (CEST) Received: (qmail 72804 invoked by uid 500); 11 May 2017 14:16:16 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 72794 invoked by uid 99); 11 May 2017 14:16:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2017 14:16:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EB61CC1876 for ; Thu, 11 May 2017 14:16:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_NONELEMENT_30_40=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SyODl3mBpHzS for ; Thu, 11 May 2017 14:16:15 +0000 (UTC) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 197E55FCC1 for ; Thu, 11 May 2017 14:16:15 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id g49so29634787uaa.1 for ; Thu, 11 May 2017 07:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hbdrC0OgihwZk6F2hcsnZsWL3aKqnw5Q1rlAXtwMPe0=; b=hdf7JtAJnB8xz/H3NvuP8p88ezLbuHOlGcy15JuBe1pqN4FHyPlXRgVsiQ+ngzcKR5 /y1ybTGqo/gHbUs/3GNYshSfppXTGbIt3iEqXFkjzkBMvEMTkh0W+dPol+gmuKkdbrMQ QzDUyghV/SwdVO92xi5+ZmAusVN3k0xJJINvJ7I9b7nNQmA23OJsOABBAqMa9g3w/4K6 N7cN0j9Eo48ozj8e0nbVfe0jdGqluZbnaGeMoLbUZ6vA2k2KqSpjI8LVoU0NJIv+HWoQ hFwvg8IyFuz1V0AZUmwnrIAV29e20nq+1GOVxQIkU1H3jcWoZ0tF3LjH3njsyCIOWeq1 ppdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hbdrC0OgihwZk6F2hcsnZsWL3aKqnw5Q1rlAXtwMPe0=; b=hawUYswDLowBzb98Z8wRNKyIFnEv0HjYNs3PqxX2E7IzjsJUNpu/DPmeb5RFkNLOgL ma88bDzwSJmbBFQzUxRKpC6ZJFSwFnRwlchIJC/7TSnsaLuGjq+2m4FTkztEqnhXHnLs RiKHFecyf3/ct1Lj9ur51e82I5cLKs2kLYWkVt39TeXub1Ro7ylfxyFhvwVlzp6vxJtd uA09eoYX8dUzQCmh4xWKrAcun7dgbpX0JzC8HJDku1bZ2baWm1eyjMscvEGc2mQv+RJ6 /y2e1mapksdtBMIyktWm9BmCr0CojYhVIP/FFIc7FY9mDn6AnALsSKj/SWJQ5EOly7Kj /MdA== X-Gm-Message-State: AODbwcBo2Dsr6Xr+PToRYuCIIp3pVJrprMUZP1dVlH/U+3x8zzHP9DEJ xciaSEnRYTEVBBRhIBf6iquapGYHZQ9p X-Received: by 10.176.65.99 with SMTP id j90mr294435uad.1.1494512174538; Thu, 11 May 2017 07:16:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.80.23 with HTTP; Thu, 11 May 2017 07:15:54 -0700 (PDT) From: Stefano Ortolani Date: Thu, 11 May 2017 15:15:54 +0100 Message-ID: Subject: LCS, range tombstones, and eviction To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="94eb2c12309a46ab88054f403b65" archived-at: Thu, 11 May 2017 14:16:18 -0000 --94eb2c12309a46ab88054f403b65 Content-Type: text/plain; charset="UTF-8" Hi all, I am trying to wrap my head around how C* evicts tombstones when using LCS. Based on what I understood reading the docs, if the ratio of garbage collectable tomstones exceeds the "tombstone_threshold", C* should start compacting and evicting. I am quite puzzled however by what might happen when dealing with range tombstones. In that case a single tombstone might actually stand for an arbitrary number of normal tombstones. In other words, do range tombstones contribute to the "tombstone_threshold"? If so, how? I am also a bit confused by the "tombstone_compaction_interval". If I am dealing with a big partition in LCS which is receiving new records every day, and a weekly incremental repair job continously anticompacting the data and thus creating SStables, what is the likelhood of the default interval (10 days) to be actually hit? Hopefully somebody will be able to shed some lights here! Thanks in advance! Stefano --94eb2c12309a46ab88054f403b65 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I am trying to wrap = my head around how C* evicts tombstones when using LCS.
Based on = what I understood reading the docs, if the ratio of garbage=C2=A0
collectable tomstones exceeds the "tombstone_threshold", C* shou= ld start=C2=A0
compacting and evicting.

= I am quite puzzled however by what might happen when dealing with range=C2= =A0
tombstones. In that case a single tombstone might actually st= and for an=C2=A0
arbitrary number of normal tombstones. In other = words, do range tombstones=C2=A0
contribute to the "tombston= e_threshold"? If so, how?

I am also a bit con= fused by the "tombstone_compaction_interval". If I am=C2=A0<= /div>
dealing with a big partition in LCS which is receiving new record= s every day,=C2=A0
and a weekly incremental repair job continousl= y anticompacting the data and=C2=A0
thus creating SStables, what = is the likelhood of the default interval=C2=A0
(10 days) to be ac= tually hit?

Hopefully somebody will be able to she= d some lights here!

Thanks in advance!=C2=A0
=
Stefano=C2=A0

--94eb2c12309a46ab88054f403b65--