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.

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

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

Restore Snapshot

2017-06-27 Thread Anuj Wadehra
drop on node 3 11 am snapshot restore on node 1. Now the data is only on node 2 if we are writing at quorum and we will observe inconsistent reads till we repair node 1. If you use restore snapshot with join_ring equal to false, repair the node and then join the restored node when repair completes

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: *

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, I

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). How

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

Re: RE Restore snapshot

2012-08-07 Thread Jonathan Ellis
Yes. On Thu, Aug 2, 2012 at 5:33 AM, Radim Kolar h...@filez.com 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

Re: RE Restore snapshot

2012-08-03 Thread Tyler Hobbs
On Thu, Aug 2, 2012 at 6:14 AM, Romain HARDOUIN romain.hardo...@urssaf.frwrote: 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 http://datastax.com/

RE Restore snapshot

2012-08-02 Thread Romain HARDOUIN
No it's not possible Desimpel, Ignace ignace.desim...@nuance.com 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: 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
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 Actually that's wrong

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 sylv...@datastax.com 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

Restore snapshot

2012-08-01 Thread Desimpel, Ignace
Hi, Is it possible to restore a snapshot of a keyspace on a live cassandra cluster (I mean without restarting)?