On Mon, Oct 5, 2009 at 11:10 AM, Anthony Molinaro
<[email protected]> wrote:
> I assume the server also needs to be stopped while your are swapping
> files, but what about if you have a cluster of several servers and
> need to restore.  Is the process to shutdown all the servers, move
> the files and restart? Or can you you do it one at a time.  (I assume
> one at a time might mean a lot of read-repair work happening, so not
> a good idea).

Right, you could end up with newer data mixed in with your backed up
version which is probably not what you want.

> Also, is it best to flush_binary (which I think flushes in memory
> tables to disk), and compact prior to snapshotting?

flush_binary only acts on the binary memtables.  I wrote earlier:

>> note that the 0.4 branch, which will become 0.4.1, automatically
>> flushes each columnfamily when you ask for a snapshot of the table, so
>> you don't have to do that manually anymore.

Compaction isn't necessary and would slow down snapshotting considerably.

-Jonathan

Reply via email to