Grokking the System Design Interview, Volume II
0% completed
Tombstones
What are Tombstones?
Consider what happens when Cassandra deletes data while one replica node is down or unreachable. That node misses the delete. Later, when it comes back online and a repair runs, it could resurrect the deleted data, sharing its old copy with other nodes. Cassandra prevents that with a marker called a tombstone.
A tombstone works like a soft delete does in a relational database: the record is not removed, only flagged. When we delete data, Cassandra does not remove it right away. Instead, it treats the delete as an update
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%