cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: How to restore a snapshot in cassandra 1.1
Date Fri, 17 Oct 2014 00:12:24 GMT
On Thu, Oct 16, 2014 at 3:57 PM, Ben Chobot <bench@instructure.com> wrote:

> We're wiping the commit logs because that's what the datastax instructions
> say to do. (Also the old Cassandra Ops wiki.) I assume it's so that changes
> that no longer apply to the node aren't replayed when it's restarted with
> old sstables.
>
> Of course, my question is about when you have multiple keyspaces.
> Presumably some changelogs might still apply and some might not, but AFAICT
> there's no way to separate them out.
>
> It might just be that this kind of snapshot restore (one but not all
> keyspaces) just isn't supported in Cassandra 1.1?
>

I told you what to do already, sorry if it was unclear :

" just nodetool drain (although this doesn't actually reliably work in 1.1
era... [1]) before stopping the node. "

Honestly not sure why the Datastax instructions tell you to delete the
commitlog instead of using nodetool drain. I've added them (docs@ ...) to a
bcc: here for their information.

=Rob
http://twitter.com/rcolidba

Mime
View raw message