Re: Using snapshot for backup and restore

2011-05-03 Thread Jonathan Ellis
You're right, this is an oversight. Created https://issues.apache.org/jira/browse/CASSANDRA-2596 to fix. As for a workaround, you can drop the index + recreate. (Upgrade to 0.7.5 first, if you haven't yet.) On Tue, May 3, 2011 at 3:22 AM, Arsene Lee wrote: > Hi, > > > > We are trying to use sna

RE: Using snapshot for backup and restore

2011-05-03 Thread Arsene Lee
so include secondary indexes when taking the snapshot. Arsene From: aaron morton [aa...@thelastpickle.com] Sent: Tuesday, May 03, 2011 7:28 PM To: user@cassandra.apache.org Subject: Re: Using snapshot for backup and restore Looking at the code for the s

Re: Using snapshot for backup and restore

2011-05-03 Thread aaron morton
Looking at the code for the snapshot it looks like it does not include secondary indexes. And I cannot see a way to manually trigger an index rebuild (via CFS.buildSecondaryIndexes()) Looking at this it's probably handy to snapshot them https://issues.apache.org/jira/browse/CASSANDRA-2470 I'm

Using snapshot for backup and restore

2011-05-03 Thread Arsene Lee
Hi, We are trying to use snapshot for backup and restore. We found out that snapshot doesn't take secondary indexes. We are wondering why is that? And is there any way we can rebuild the secondary index? Regards, Arsene