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 3230A98ED for ; Mon, 19 Mar 2012 22:33:28 +0000 (UTC) Received: (qmail 15217 invoked by uid 500); 19 Mar 2012 22:33:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 15186 invoked by uid 500); 19 Mar 2012 22:33:26 -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 15178 invoked by uid 99); 19 Mar 2012 22:33:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 22:33:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ruslan.usifov@gmail.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 22:33:20 +0000 Received: by ggmi1 with SMTP id i1so6729203ggm.31 for ; Mon, 19 Mar 2012 15:33:00 -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:content-transfer-encoding; bh=IauEHUHs/V3EXpgm3iE64eZfI/ncm2EPb5JEAzBkIak=; b=NCKfCAjtumfhfLuuasP0k2K1t67vf6mjvu7nnqdWsA4C/zgbRJRXyKVLtpr8Wnex6l zD3jYaquu60+Rq2u0QEHtUWrZdZXy93Zoda0iubPQrrbY7U9J2UGAh0DpIbHTg6Ox3e1 EQPaAVq3A9fq5PQFpn8wWp2Lz9JfbEoG2AGAjr4zOQImTnb+W84qE2ZGgG74LSYmDcP8 jDPjwnBtCzwhsobnatkZv+Rfql9EyrWEuICF4TMv94u3WRIHsFtrA3x5YWuR2lkFNkxv +NFodkDLoFdMpjgfu6QPotJyFvgGlv1uHQgehz77nWydsVDzOMONjEGZKf18G0GFw+rj OQog== MIME-Version: 1.0 Received: by 10.236.152.37 with SMTP id c25mr10618992yhk.48.1332196380089; Mon, 19 Mar 2012 15:33:00 -0700 (PDT) Received: by 10.236.145.170 with HTTP; Mon, 19 Mar 2012 15:33:00 -0700 (PDT) In-Reply-To: <4F67077A.2000803@filez.com> References: <4F67077A.2000803@filez.com> Date: Tue, 20 Mar 2012 02:33:00 +0400 Message-ID: Subject: Re: repair broke TTL based expiration From: ruslan usifov To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Do you make major compaction?? 2012/3/19 Radim Kolar : > I suspect that running cluster wide repair interferes with TTL based > expiration. I am running repair every 7 days and using TTL expiration tim= e 7 > days too. Data are never deleted. > Stored data in cassandra are always growing (watching them for 3 months) = but > they should not. If i run manual cleanup, some data are deleted but just > about 5%. Currently there are about 3-5 times more rows then i estimate. > > I suspect that running repair on data with TTL can cause: > > 1. time check for expired records is ignored and these data are streamed = to > other node and they will be alive again > =A0or > 2. streaming data are propagated with full TTL. Lets say that i have ttl = 7 > days, data are stored for 5 days and then repaired, they should be sent t= o > other node with ttl 2 days not 7. > > Can someone do testing on this case? I could not play with production > cluster too much.