Snapshots just hardlink the existing SSTable files. They don't "freeze" the TTL or anything like that, so data can expire while snapshotted and it will be converted to a tombstone when it's first compacted after you reload it. There's not an easy way to prevent this from happening.
On Thu, Aug 15, 2013 at 1:13 PM, rash aroskar <[email protected]>wrote: > Hi, > If I add some data in cassandra cluster with TTL lets say 2 days, took > snapshot of it before it expires. If I use the snapshot to load the data in > different/same cluster, will the data from the snapshot will carry the TTL > of 2 days (from the time when the snapshot was created)? if not can I > specify TTL when getting data from the snapshot? > If I use Priam will it make this process any easier? > > Thanks. > -Rashmi > -- Tyler Hobbs DataStax <http://datastax.com/>
