Hector (Cassandra) Delete Anomaly
Asked Answered
S

2

6

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 ?

Subdual answered 7/9, 2011 at 22:59 Comment(1)
Found the answer on Cassandra chat --> wiki.apache.org/cassandra/FAQ#range_ghostsSubdual
C
3

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.

Conceive answered 8/9, 2011 at 5:4 Comment(0)
A
1

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

Check this out: Wikipedia

Ambush answered 20/9, 2011 at 16:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.