Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78D619E32 for ; Tue, 24 Jul 2012 14:12:40 +0000 (UTC) Received: (qmail 22264 invoked by uid 500); 24 Jul 2012 14:12:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22150 invoked by uid 500); 24 Jul 2012 14:12:37 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 22117 invoked by uid 99); 24 Jul 2012 14:12:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 14:12:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 14:12:31 +0000 Received: by bkty7 with SMTP id y7so6062150bkt.31 for ; Tue, 24 Jul 2012 07:12:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:references:user-mail-address:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=15tGU4fWr+RRa1ZBzHFWYJmkoJ4vkEJo/4MxTRclYqM=; b=b2ZppUdxzA2+6EWK1vJFkWs9QGZtWZFbj0X6jrML/TSlKEQKM48MDB+CF/wtasKgIR LlUzxbsrRgqqoR86kU4ZzAITfc5qRHLy99VFxhIql2UEzbHuRoLVyTeCUJ7NIhNWzIH4 rwBw3R/+9kOUJ0dXnk5vdvh0AU2Io6bXuEma72LtvInTIBdU1T3y4tzVIV7RYoKsWngu PxKN6SjlCIDd0tSCCFbloTseRUEud62BO41sGtX9KffU/xpmB+oudqlumcvaoIbFu3Jw hbcrqBAOfymbxNlbYV1fKOwT4n9/kXOt7HZz0J7BfADEazgXEWJh8MDBhTb6/I48udWc nzug== Received: by 10.204.0.80 with SMTP id 16mr10226375bka.71.1343139129842; Tue, 24 Jul 2012 07:12:09 -0700 (PDT) Received: from localhost (smallrivers1.epfl.ch. [128.179.67.51]) by mx.google.com with ESMTPS id c18sm11005974bkv.8.2012.07.24.07.12.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jul 2012 07:12:06 -0700 (PDT) From: Pierre-Yves Ritschard To: user@cassandra.apache.org Subject: Re: going back in time References: <32156_1343136969_500EA4C9_32156_2308_1_9632480C9F82B44294C2302320958E980849EDD383@PUEXCB2F.nanterre.francetelecom.fr> <87lii9qnnh.fsf@spootnik.org> <30829_1343138425_500EAA79_30829_2886_1_9632480C9F82B44294C2302320958E980849EDD3C0@PUEXCB2F.nanterre.francetelecom.fr> User-Mail-Address: pyr@spootnik.org Date: Tue, 24 Jul 2012 16:12:04 +0200 In-Reply-To: <30829_1343138425_500EAA79_30829_2886_1_9632480C9F82B44294C2302320958E980849EDD3C0@PUEXCB2F.nanterre.francetelecom.fr> (mdione ext's message of "Tue, 24 Jul 2012 16:00:20 +0200") Message-ID: <87hasxqmdn.fsf@spootnik.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnQqp9q46V1fzlgKdVC3sN6SnRuWIYkUMTCH8YUCOzTGOunSBRYeKreVpAE9T40yqcQnIaf X-Virus-Checked: Checked by ClamAV on apache.org writes: > De=C2=A0: Pierre-Yves Ritschard [mailto:pyr@spootnik.org] >> Snapshot and restores are great for point in time recovery. There's no >> particular side-effect if you're willing to accept the downtime. > > Are you sure? The system KS has no book-keeping about the KSs/CFs?=20 > For instance, schema changes, etc? > Don't take my word for it, it's easy enough to fill up a small 3 node cluster and play with it. Here's a few more things that you should pay attention to: - If you change the schema you are obviously going to have to reconverge to the previous schema. - You want to avoid pending commitlog entries. If you want to load a full snapshot from scratch, the easiest route would be to drop the KS, recreate it with the expected schema and load your sstables from disk. >> If you don't want to take your whole cluster offline you can use >> sstableloader as well. > > Sounds wonderful.