cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark McBride <mark.mcbr...@gmail.com>
Subject Re: MVCC
Date Mon, 03 Aug 2009 17:43:59 GMT
Cool.  There are a few things I've found out recently that should
probably go into the wiki (this, the fact that get_columns_since
silently returns no results if your column family isn't ordered by
time)... is it moderated at all?  Should I run changes by the mailing
list?

On Mon, Aug 3, 2009 at 10:15 AM, Jonathan Ellis<jbellis@gmail.com> wrote:
> On Mon, Aug 3, 2009 at 12:12 PM, Mark McBride<mark.mcbride@gmail.com> wrote:
>> Thanks, that makes sense.  Is it an ok general rule that the
>> timestamps should be set to
>>
>> 1) The time that the data to be mutated was generated
>> 2) The current system time if the time the data was mutated isn't available
>
> Yes.
>
>> Looking around at code it seems like time 0 is used a lot, which seems
>> pretty dangerous.
>
> We do this in test code to make it obviously clock-independent, yes.
>
> -Jonathan
>

Mime
View raw message