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 ?

有帮助吗?

解决方案

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.

其他提示

Actually, it will go away in the next compaction that happens after the grace period for that row.

Check this out: Wikipedia

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top