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 2C1F3D8A9 for ; Wed, 18 Jul 2012 15:44:57 +0000 (UTC) Received: (qmail 13042 invoked by uid 500); 18 Jul 2012 15:44:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 13014 invoked by uid 500); 18 Jul 2012 15:44:54 -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 13005 invoked by uid 99); 18 Jul 2012 15:44:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2012 15:44:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomasevdv@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2012 15:44:48 +0000 Received: by qcac10 with SMTP id c10so1136196qca.31 for ; Wed, 18 Jul 2012 08:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IukiWzEY4+p2lWoudMHqYouZ2dUqU3kcB5nOXuWi90I=; b=QB1hl1VSAbcwFfC3sQyyZ4K8sdFKkDhIFv50EzDW4ZycXieQiLbx5Z6lqjIR9wFQ5p wXSxWtsjGjRQNA0mudbyhRBi/9yaiKixT30v41xzqeEjoXf8A7i8ZdbdRbQBZPrv7JR8 fJdPKY9wkvGAPUCocKKj8MAtHCu00xDUaKRb0J10RSBu1SlJJxgZGcpEokS3M9vckw6H BjmNPOPk/AfUATIIAC5BKLpjxqMzoTiN5eOjxz0YLINi67puT2oJnhlQU8d7mXPudYlt WeOZkEge5IyOsrcpgozln/tAAZAqBXyVPS+gVA6OStLUxXvOy/fPTt4KI1TXjwviGXdx JVZA== MIME-Version: 1.0 Received: by 10.60.26.65 with SMTP id j1mr2133625oeg.9.1342626267692; Wed, 18 Jul 2012 08:44:27 -0700 (PDT) Received: by 10.76.136.234 with HTTP; Wed, 18 Jul 2012 08:44:27 -0700 (PDT) Date: Wed, 18 Jul 2012 10:44:27 -0500 Message-ID: Subject: Composite Column Expiration Behavior From: Thomas Van de Velde To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1eef4c07ffd04c51c89a4 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1eef4c07ffd04c51c89a4 Content-Type: text/plain; charset=ISO-8859-1 Hi there, I am trying to understand the expiration behavior of composite columns. Assume I have two entries both have the same parent column name but each one has a different ttl. Would expiration be applied at the parent column level (taking into account ttls set per column under the parent and expiring all of the child columns when the most recent ttl is met) or is each each child entry expired independently? Would this be correct? A:B->ttl=5 A:C->ttl=10 t+5: Nothing gets expired (because A:C's expiration has not yet been reached) t+10: Both A:B and A:C are expired Thanks, Thomas --e89a8fb1eef4c07ffd04c51c89a4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there,
I am trying= to understand the expiration behavior of composite columns. Assume I have = two entries both have the same parent column name but each one has a differ= ent ttl. Would expiration be applied at the parent column level (taking int= o account ttls set per column under the parent and expiring all of the chil= d columns when the most recent ttl is met) or is each each child entry expi= red independently?

Would this be correct?

A:B->ttl=3D5
= A:C->ttl=3D10


<= div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.= 499999046325684px;background-color:rgb(255,255,255)"> t+5: Nothing gets expired (because A:C's expiration has not yet been re= ached)
t+10: Bot= h A:B and A:C are expired


Thanks,
Thomas
--e89a8fb1eef4c07ffd04c51c89a4--