cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohit bhatia <rohit2...@gmail.com>
Subject Re: Composite Column Expiration Behavior
Date Wed, 18 Jul 2012 16:06:59 GMT
Hi,

I don't think that composite columns have "parent columns". your point
might be true for supercolumns ..
but each composite column is probably independent..

On Wed, Jul 18, 2012 at 9:14 PM, Thomas Van de Velde
<thomasevdv@gmail.com> wrote:
> 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

Mime
View raw message