cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eugene miretsky <eugene.miret...@gmail.com>
Subject How do TTLs generate tombstones
Date Wed, 04 Oct 2017 21:05:39 GMT
Hello,

The following link says that TTLs generate tombstones -
https://docs.datastax.com/en/cql/3.3/cql/cql_using/useExpire.html.

What exactly is the process that converts the TTL into a tombstone?

   1. Is an actual new tombstone cell created when the TTL expires?
   2. Or, is the TTLed cell treated as a tombstone?


Also, does gc_grace_period have an effect on TTLed cells? gc_grace_period
is meant to protect from deleted data re-appearing if the tombstone is
compacted away before all nodes have reached a consistent state. However,
since the ttl is stored in the cell (in liveness_info), there is no way for
the cell to re-appear (the ttl will still be there)

Cheers,
Eugene

Mime
View raw message