开发者

Not able to insert data into Cassandra./

I have a question regarding inserting data to Cassandra.

I have deleted a row key from a Column Family(CF) after some time I am trying insert data with the same rowkey.

The program gets executed but when I try to access the data with the rowkey from command line I get zero results.

Why is this happening? I know there is some thing called "Tombstone" with each deleted key.

开发者_如何学Python

But I am trying to insert the data after compaction.

I have set my <GCGraceSeconds> 0 </GCGraceSeconds>.

Thanks in advance.


probably your delete is happening with a larger timestamp than the insert you did later.


How many nodes do you have? Are their clocks synchronized accurately? If not, this could cause inconsistencies.


I have seen this same problem happening but I haven't been able to debug it. Currently I'm checking http://wiki.apache.org/cassandra/FAQ#range_ghosts to see if that is causing the problem. Maybe it will help you too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜