cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: MVCC
Date Mon, 03 Aug 2009 17:15:17 GMT
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