Re: update a record which does not exists

2017-12-03 Thread @Nandan@
In Cassandra, We are having Upsert concept. That means, Suppose if you inserting data then it is going to store based on your PK, once you will Update records based on PK, then there will be 2 possibilities as:- 1) Either It updates the Existed data with new Timestamp [as we know that record having

Re: update a record which does not exists

2017-12-03 Thread Peng Xiao
After test,it do will insert a new record. -- Original -- From: "";<2535...@qq.com>; Date: Mon, Dec 4, 2017 11:13 AM To: "user"; Subject: update a record which does not exists Dear All,If we update a record which actually does not exist in Cas

update a record which does not exists

2017-12-03 Thread Peng Xiao
Dear All,If we update a record which actually does not exist in Cassandra,will it generate a new record or exit? UPDATE columnfamily SET data = 'test data' WHERE key = 'row1'; as in CQL Update and insert are semantically the same.Could anyone please advise? Thanks, Peng Xiao

Tombstone warnings in log file

2017-12-03 Thread wxn...@zjqunshuo.com
Hi, My cluster is running 2.2.8, no update and deletion, only insertion with TTL. I saw below warnings reacently. What's the meaning of them and what's the impact? WARN [SharedPool-Worker-2] 2017-12-04 09:32:48,833 SliceQueryFilter.java:308 - Read 2461 live and 1978 tombstone cells in cargts.