cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tom <zs68j...@gmail.com>
Subject about "insert into table with IF NOT EXISTS" error
Date Tue, 10 Feb 2015 01:38:20 GMT
Hi:

  I setup one node cassandra server, and using node.js driver cql to query
db.

  But, when insert into table with "IF NOT EXISTS" statement, it report
error as below:

:ResponseError: Cannot achieve consistency level QUORUM

And, I try set nodejs cql query with consistency to ONE, still see that
error.

If I remove  "IF NOT EXISTS" from cql, insert passed.

 Please advice. thx.

best regards
  Tom

Mime
View raw message