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.
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
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
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
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:
*
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
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
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
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
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/
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)?
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()
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
1) I assume that I have to call the loadNewSSTables() on each node?
this is same as nodetool refresh?
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
Hi,
Is it possible to restore a snapshot of a keyspace on a live cassandra cluster
(I mean without restarting)?
16 matches
Mail list logo