Re: timestamp parameter for Thrift insert API ??

2010-09-21 Thread Benjamin Black
On Mon, Sep 20, 2010 at 7:25 PM, Kuan(謝冠生) lakersg...@mail2000.com.tw wrote: By using cassandra-cli tool, we don't have to input timestamp while insertion. Does it mean that Cassandra have time synchronization build-in already? No, it means the cassandra-cli program is inserting a timestamp,

timestamp parameter for Thrift insert API ??

2010-09-20 Thread Kuan(謝冠生)
To whom it may concern, While timestamp parameter is auto generated by using cassandra-cli tool, why user have to manually insert the parameter in Cassandra-Thrift insert API?? In my point of view, leaving time-stamp to be inserted by client side will lead data into chaos, since clients'

Re: timestamp parameter for Thrift insert API ??

2010-09-20 Thread Michal Augustýn
Consider situation when you have more Cassandra servers. It would require time synchronization in Cassandra itself. So we have to have time synchronization - on applications servers or Cassandra servers. I'm not sure if this is concern of Cassandra but it would be good for me... 2010/9/20

Re: timestamp parameter for Thrift insert API ??

2010-09-20 Thread Kuan(謝冠生)
By using cassandra-cli tool, we don't have to input timestamp while insertion. Does it mean that Cassandra have time synchronization build-in already? Since cassandra depending on time-stamp parameter very much (both read/write). The most ideal way to deal with timestamp is by cassandra itself,