RE: Write Timestamps

2012-10-26 Thread Jeremiah Jordan
.com] Sent: Thursday, October 25, 2012 4:09 PM To: dev@cassandra.apache.org Subject: Re: Write Timestamps On Wed, Oct 24, 2012 at 9:13 PM, Jeremiah Jordan wrote: > How are you doing the write? CQL or Thrift? In thrift, the client specifies > the timestamp, and you should always be seeing that

Re: Write Timestamps

2012-10-25 Thread Eric Evans
On Wed, Oct 24, 2012 at 9:13 PM, Jeremiah Jordan wrote: > How are you doing the write? CQL or Thrift? In thrift, the client specifies > the timestamp, and you should always be seeing that as the timestamp. In > CQL, the CQL layer on the server adds the timestamp. For the record, you can supp

Re: Write Timestamps

2012-10-25 Thread William Katsak
I was using Thrift...I discovered it while debugging a replica placement scheme. I originally thought that my code was at fault, but then tried it with the regular NetworkTopologyStrategy and saw the same thing. However, I have now tried with 1.1.6 and everything seems to work fine now. There

Re: Write Timestamps

2012-10-24 Thread Jeremiah Jordan
How are you doing the write? CQL or Thrift? In thrift, the client specifies the timestamp, and you should always be seeing that as the timestamp. In CQL, the CQL layer on the server adds the timestamp. I am less familiar with the CQL code, maybe something screwy is going on there. 1.1.6 is

Re: Write Timestamps

2012-10-24 Thread William Katsak
Here is what I am seeing on each replica node. This is after a write with consistencylevel=ALL. DEBUG [MutationStage:48] 2012-10-24 16:56:01,050 RowMutationVerbHandler.java (line 56) RowMutation(keyspace='normal', key='746573746b65793337', modifications=[ColumnFamily(data [636f6c:false:3@1351

Re: Write Timestamps

2012-10-24 Thread Jonathan Ellis
Timestamps are part of the ColumnFamily objects and their Columns, contained in the RowMutation. On Wed, Oct 24, 2012 at 2:57 PM, William Katsak wrote: > Hello, > > I sent this message a few days ago, but it seems to have gotten lost (I > don't see it on the archive), so I am trying again. > > --

Write Timestamps

2012-10-24 Thread William Katsak
Hello, I sent this message a few days ago, but it seems to have gotten lost (I don't see it on the archive), so I am trying again. - I am using Cassandra for some academic-type work that involves some hacking of replica placement, etc. and I am observing a strange behavior (well, strang