cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate McCall <n...@thelastpickle.com>
Subject Re: Column value not getting updated
Date Tue, 31 Mar 2015 21:50:52 GMT
You would see that if the servers' clocks were out of sync.

Make sure the time on the servers is in sync or set the client timestamps
explicitly.

On Tue, Mar 31, 2015 at 3:23 PM, Saurabh Sethi <Saurabh_Sethi@symantec.com>
wrote:

> I have written a unit test that creates a column family, inserts a row in
> that column family and then updates the value of one of the columns.
>
> After updating, unit test immediately tries to read the updated value for
> that column, but Cassandra returns the old value.
>
>    - I am using QueryBuilder API and not CQL directly.
>    - I am using the consistency level of QUORUM for everything – insert,
>    update and read.
>    - Cassandra is running as a 3 node cluster with replication factor of
>    3.
>
>
> Anyone has any idea what is going on here?
>
> Thanks,
> Saurabh
>



-- 
-----------------
Nate McCall
Austin, TX
@zznate

Co-Founder & Sr. Technical Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com

Mime
View raw message