Discuss the strategies for handling data compaction conflicts in Cassandra, including tombstone-aware strategies.
Last updated
Compaction resolves conflicts by last-write-wins on cell timestamps, so a tombstone (deletion marker) with a newer timestamp shadows older data.
A tombstone is droppable only after
gc_grace_seconds(default 10 days) and only if all SSTables that could hold shadowed data are included. Repair within that window prevents deleted data from resurrecting.Tombstone-aware options: single-SSTable compaction triggers when droppable ratio exceeds
tombstone_threshold, andTWCSsuits TTL/time-series data by dropping whole expired SSTables (STCSlets tombstones linger,LCSpurges faster).
- https://www.wecreateproblems.com/interview-questions/cassandra-interview-questions
- https://mindmajix.com/cassandra-interview-questions-and-answers
- https://www.whizlabs.com/blog/cassandra-interview-questions-and-answers/
- https://www.analyticsvidhya.com/blog/2023/03/top-5-interview-questions-on-cassandra/
- https://www.geeksforgeeks.org/dbms/cassandra-vs-dynamodb/
- https://www.knowi.com/blog/cassandra-vs-dynamodb-2025-complete-guide-with-pricing-performance-usecase-migration-tips/
- https://www.bytebase.com/blog/dynamodb-vs-cassandra/
- https://dzone.com/articles/cassandra-vs-dynamodb-database-comparison
- https://www.finalroundai.com/blog/cassandra-interview-questions
- https://www.edureka.co/blog/interview-questions/cassandra-interview-questions/
- https://data-flair.training/blogs/cassandra-interview-questions/
- https://www.adaface.com/blog/cassandra-interview-questions/
- https://www.careers360.com/courses-certifications/articles/apache-cassandra-interview-questions
- https://www.acte.in/cassandra-interview-questions-and-answers
- https://www.devopsschool.com/blog/top-50-interview-questions-and-answers-of-apache-cassandra/