cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <mishra.v...@gmail.com>
Subject Re: one or more nodes were unavailable.
Date Tue, 21 Jan 2014 03:41:24 GMT
Single node and default consistency. Running via cqsh


On Tue, Jan 21, 2014 at 1:47 AM, sankalp kohli <kohlisankalp@gmail.com>wrote:

> Also do you have any nodes down...because it is possible to reach write
> consistency and not do CAS because some machines are down.
>
>
> On Mon, Jan 20, 2014 at 12:16 PM, sankalp kohli <kohlisankalp@gmail.com>wrote:
>
>> What consistency level are you using?
>>
>>
>> On Mon, Jan 20, 2014 at 7:16 AM, Vivek Mishra <mishra.vivs@gmail.com>wrote:
>>
>>> Hi,
>>> Trying CAS feature of cassandra 2.x and somehow getting given below
>>> error:
>>>
>>>
>>> cqlsh:sample> insert into "User"(user_id,first_name) values(
>>> fe08e810-81e4-11e3-9470-c3aa8ce77cc4,'vivek1') if not exists;
>>> Unable to complete request: one or more nodes were unavailable.
>>> cqlsh:training>
>>>
>>>
>>> cqlsh:sample> insert into "User"(user_id,first_name) values(
>>> fe08e810-81e4-11e3-9470-c3aa8ce77cc4,'vivek1')
>>>
>>> It works fine.
>>>
>>> Any idea?
>>>
>>> -Vivek
>>>
>>>
>>>
>>
>

Mime
View raw message