cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tommaso barbugli <tbarbu...@gmail.com>
Subject Re: Questions about timestamp set at writetime
Date Tue, 17 Jun 2014 12:17:51 GMT
when inserting with a batch every row have the same timestamp; I also think
(not 100%) that is not possible to define different timestamps within a
batch.

Tommaso


2014-06-17 14:10 GMT+02:00 DuyHai Doan <doanduyhai@gmail.com>:

> Hello all
>
>  I know that at write time a timestamp is automatically generated by the
> server and assigned to each column.
>
>  My questions are:
>
> 1) Who is responsible for this micro-second timestamp ? The coordinator
> which receives the insert request or each replica which actually do persist
> the data ?
>
> 2) In a case of a batch insert (CQL3 batch, not batch mutation Thrift
> API), if no user defined timestamp is set, neither on the batch statement
> nor on each individual statement, will C* generate a SAME timestamp for
> each individual statement in the batch or will there distinct timestamps ?
>
> Regards
>
>
>  Duy Hai DOAN
>

Mime
View raw message