RE Restore snapshot

2012-08-02 Thread Romain HARDOUIN
No it's not possible "Desimpel, Ignace" a écrit sur 01/08/2012 14:58:49 : > Hi, > > Is it possible to restore a snapshot of a keyspace on a live > cassandra cluster (I mean without restarting)? >

Re: Restore Snapshot

2017-06-28 Thread kurt greaves
There are many scenarios where it can be useful, but to address what seems to be your main concern; you could simply restore and then only read at ALL until your repair completes. If you use snapshot restore with commitlog archiving you're in a better state, but granted the case you described can

Re: Restore Snapshot

2017-06-28 Thread Anuj Wadehra
Thanks Kurt. I think the main scenario which MUST be addressed by snapshot is Backup/Restore so that a node can be restored with minimal time and the lengthy procedure of boottsrapping with join_ring=false followed by full repair can be avoided. The plain restore snapshot + repair scenario see

Re: Restore Snapshot

2017-06-28 Thread kurt greaves
Hm, I did recall seeing a ticket for this particular use case, which is certainly useful, I just didn't think it had been implemented yet. Turns out it's been in since 2.0.7, so you should be receiving writes with join_ring=false. If you confirm you aren't receiving writes then we have an issue. ht

Re: RE Restore snapshot

2012-08-02 Thread Sylvain Lebresne
Actually that's wrong, it is perfectly possible to restore a snapshot on a live cassandra cluster. There is even basically 2 solutions: 1) use the sstableloader (http://www.datastax.com/dev/blog/bulk-loading) 2) copy the snapshot sstable in the right place and call the JMX method loadNewSSTables()

RE: RE Restore snapshot

2012-08-02 Thread Desimpel, Ignace
ny remaining files in the directory x *** Restore data files from snapshot for KS x *** Table.open(x); -Original Message- From: Sylvain Lebresne [mailto:sylv...@datastax.com] Sent: donderdag 2 augustus 2012 11:46 To: user@cassandra.apache.org Subject: Re: RE Restore snapshot Act

Re: RE Restore snapshot

2012-08-02 Thread Radim Kolar
1) I assume that I have to call the loadNewSSTables() on each node? this is same as "nodetool refresh?"

Re: RE Restore snapshot

2012-08-02 Thread Romain HARDOUIN
Then http://www.datastax.com/docs/1.1/operations/backup_restore should mention it :-) Sylvain Lebresne a écrit sur 02/08/2012 11:45:46 : > Actually that's wrong, it is perfectly possible to restore a snapshot > on a live cassandra cluster. > There is even basically 2 solutions: > 1) use the ss

Re: RE Restore snapshot

2012-08-03 Thread Tyler Hobbs
On Thu, Aug 2, 2012 at 6:14 AM, Romain HARDOUIN wrote: > > Then http://www.datastax.com/docs/1.1/operations/backup_restore should > mention it :-) I opened a ticket with our docs team to cover that. Thanks! -- Tyler Hobbs DataStax

Re: RE Restore snapshot

2012-08-07 Thread Jonathan Ellis
Yes. On Thu, Aug 2, 2012 at 5:33 AM, Radim Kolar wrote: > >> 1) I assume that I have to call the loadNewSSTables() on each node? > > this is same as "nodetool refresh?" -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http

RE: RE Restore snapshot

2012-08-09 Thread mdione.ext
De : Sylvain Lebresne [mailto:sylv...@datastax.com] > 2) copy the snapshot sstable in the right place and call the JMX method > loadNewSSTables() (in the column family MBean, which mean you need to > do that per-CF). How does this affect the contents of the CommitLogs? I mean, I imagine u

RE: RE Restore snapshot

2012-08-13 Thread mdione.ext
> De : Sylvain Lebresne [mailto:sylv...@datastax.com] > > 2) copy the snapshot sstable in the right place and call the JMX > > method > > loadNewSSTables() (in the column family MBean, which mean you need to > > do that per-CF). > > How does this affect the contents of the CommitLogs? I mean

RE: RE Restore snapshot

2012-08-13 Thread mdione.ext
De : mdione@orange.com [mailto:mdione@orange.com] > > De : Sylvain Lebresne [mailto:sylv...@datastax.com] > > > 2) copy the snapshot sstable in the right place and call the JMX > > > method > > > loadNewSSTables() (in the column family MBean, which mean you need > > > to do that per-CF). >

RE: RE Restore snapshot

2012-08-14 Thread mdione.ext
De : mdione@orange.com [mailto:mdione@orange.com] > In particular, I'm thinking on a restore like this: > > * the app does something stupid. > * (if possible) I stop writes to the KS or CF. In fact, given that I'm about to restore the KS/CF to an old state, I can safely do this: *