Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 38349 invoked from network); 17 Feb 2011 16:17:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 16:17:44 -0000 Received: (qmail 563 invoked by uid 500); 17 Feb 2011 16:17:42 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 450 invoked by uid 500); 17 Feb 2011 16:17:39 -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 442 invoked by uid 99); 17 Feb 2011 16:17:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 16:17:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 16:17:34 +0000 Received: by qyk34 with SMTP id 34so4684887qyk.10 for ; Thu, 17 Feb 2011 08:17:13 -0800 (PST) Received: by 10.229.245.1 with SMTP id ls1mr2562808qcb.13.1297959432865; Thu, 17 Feb 2011 08:17:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.87.201 with HTTP; Thu, 17 Feb 2011 08:16:52 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Utku_Can_Top=C3=A7u?= Date: Thu, 17 Feb 2011 17:16:52 +0100 Message-ID: Subject: Re: Does counter columns support TTL To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016363b8b88edc821049c7cba03 --0016363b8b88edc821049c7cba03 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can anyone confirm that this patch works with the current trunk? On Thu, Feb 17, 2011 at 4:16 PM, Sylvain Lebresne wro= te: > https://issues.apache.org/jira/browse/CASSANDRA-2103 > > > On Thu, Feb 17, 2011 at 4:05 PM, Utku Can Top=C3=A7u = wrote: > >> Hi All, >> >> I'm experimenting and developing using counters. However, I've come to a >> usecase where I need counters to expire and get deleted after a certain = time >> of inactivity (i.e. have countercolumn deleted one hour after the last >> increment). >> >> As far as I can tell counter columns don't have TTL in the thrift >> interface, is it because of a limitation of the counter implementation? >> >> Regards, >> Utku >> >> >> > --0016363b8b88edc821049c7cba03 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can anyone confirm that this patch works with the current trunk?

On Thu, Feb 17, 2011 at 4:16 PM, Sylvain Lebresne <= span dir=3D"ltr"><sylvain@datast= ax.com> wrote:
https://i= ssues.apache.org/jira/browse/CASSANDRA-2103


On Thu, Feb= 17, 2011 at 4:05 PM, Utku Can Top=C3=A7u <utku@topcu.gen.tr> wrote:
Hi All,

I&= #39;m experimenting and developing using counters. However, I've come t= o a usecase where I need counters to expire and get deleted after a certain= time of inactivity (i.e. have countercolumn deleted one hour after the las= t increment).

As far as I can tell counter columns don't have TTL in the thrift i= nterface, is it because of a limitation of the counter implementation?
<= br>Regards,
Utku




--0016363b8b88edc821049c7cba03--