As of 0.8.0, is it possible to take a Cassandra snapshot to a different
volume (like a EBS volume dedicated for backups)?
About a year ago, Jonathan Ellis said that this won't be implemented b/c
snapshots are basically hard links:
SSTables are immutable. Those won't changed once written to disk.
From iPhone
On 2011/05/19, at 9:37, Sameer Farooqui cassandral...@gmail.com wrote:
As of 0.8.0, is it possible to take a Cassandra snapshot to a different
volume (like a EBS volume dedicated for backups)?
About a year ago,
Ahh.. yeah. And during a compaction a new SSTable is created with the merged
data.
So, if I take a snapshot before compaction, the old SSTables won't be
deleted (b/c the snapshot hard links still have a reference to the files).
But if I hadn't taken a snapshot before compaction, does compaction
Please note that all files on unix file system are basically hard links
referring specific inode. If you make a hard link to a file, it means the inode
has two referring names.
When the SSTable is compacted and GCed, Cassandra delete the old SSTable but
keep snapshot. Now the reference count to