Hector (Cassandra) Remove Anomaly

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

+6
source share
2 answers

This is expected when using Cassandra. As it deletes by writing tombstones, data still exists until the next compaction. In the end, it will be complete, but your application code should know that the empty line is the same as the deleted line.

+3
source

In fact, it will disappear in the next condensation that will occur after the grace period for this line.

Check it out: Wikipedia

+1
source

Source: https://habr.com/ru/post/896835/


All Articles