Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 9223 invoked from network); 5 Mar 2010 11:12:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 11:12:48 -0000 Received: (qmail 11324 invoked by uid 500); 5 Mar 2010 11:12:34 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 11142 invoked by uid 500); 5 Mar 2010 11:12:33 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 11131 invoked by uid 99); 5 Mar 2010 11:12:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 11:12:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eran@gigya-inc.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 11:12:27 +0000 Received: by gyd5 with SMTP id 5so1510327gyd.6 for ; Fri, 05 Mar 2010 03:12:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.160.20 with SMTP id i20mr456651ybe.111.1267787526256; Fri, 05 Mar 2010 03:12:06 -0800 (PST) In-Reply-To: References: <66b0df0b1003020443i71f87c6fl443cb0a51c94e14f@mail.gmail.com> <66b0df0b1003040051j74f758a4odb4896584bc7c9fc@mail.gmail.com> From: Eran Kutner Date: Fri, 5 Mar 2010 13:11:46 +0200 Message-ID: <66b0df0b1003050311rbec53ybb1e1161bb6ef706@mail.gmail.com> Subject: Re: Questions while evaluating Cassandra To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thank you Jonathan! On Fri, Mar 5, 2010 at 00:03, Jonathan Ellis wrote: > On Thu, Mar 4, 2010 at 2:51 AM, Eran Kutner wrote: >> On Tue, Mar 2, 2010 at 15:44, Jonathan Ellis wrote: >>> >>> On Tue, Mar 2, 2010 at 6:43 AM, Eran Kutner wrote: >>> > Is the procedure described in the description of ticket CASSANDRA-44 = really >>> > the way to do schema changes in the latest release? I'm not sure what= 's your >>> > thoughts about this but our experience is that every release of our s= oftware >>> > requires schema changes because we add new column families for indexe= s. >>> >>> Yes, that is how it is for 0.5 and 0.6. =A00.7 will add online schema >>> changes (i.e., fix -44), Gary is working on that now. >> >> So just to be clear, that would require a complete cluster restart as >> well as stopping the client app (to prevent new writes from coming in >> after doing the flush), right? Do you know how others are handling it >> on a live system? > > If you're just adding new CFs then you don't need to worry about the > commitlog. =A0So in production just leave the old ones defined and > remove the data files from the FS, client doesn't have to care, and > you can do a rolling restart of your cassandra nodes. > >>> DatacenterShardStrategy will put multiple replicas in each DC, for use >>> with CL.DCQUORUM, that is, a majority of replicas in the same DC as >>> the coordinator node for the current request. =A0DCQOURUM is not yet >>> finished, though; currently it behaves the same as CL.ALL. >> >> Is it planned for any specific release? > > It's planned as soon as someone wants it badly enough to finish it. :) > >>> The short answer is, we maintained backwards compatibility for 0.4 -> >>> 0.5 -> 0.6, but we are going to break things in 0.7 moving from String >>> keys to byte[] and possibly other changes. >> >> hmmm... My assumption was that although keys are strings they are >> still compared as bytes when using the OPP right? That would be the >> difference between the OPP and the COPP, right? Just confirming >> because otherwise creating composite keys with different data types >> may prove problematic. > > Right. > > -Jonathan >