Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hector (Cassandra) Delete Anomaly

Using hector (cassandra client) when I try to do delete, it deletes the columns…but leaves the row key behind…does anyone know why, and how can I delete that row key as well ?

like image 494
Ankush Avatar asked Sep 07 '11 22:09

Ankush


1 Answers

This is expected when using Cassandra. Since it deletes by writing tombstones the data is still there until the next compaction. Eventually it will go a way completely, but your application code must be aware that an empty row is the same as a deleted row.

like image 100
Theo Avatar answered Oct 01 '22 12:10

Theo