Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 93056 invoked from network); 12 Oct 2010 03:07:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 03:07:12 -0000 Received: (qmail 97056 invoked by uid 500); 12 Oct 2010 03:07:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 97001 invoked by uid 500); 12 Oct 2010 03:07:10 -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 96992 invoked by uid 99); 12 Oct 2010 03:07:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 03:07:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 03:07:03 +0000 Received: by wyb29 with SMTP id 29so1330426wyb.31 for ; Mon, 11 Oct 2010 20:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9K3Y+0kYcC7oTX9DUZ+kuhCc+w8ObGCGai+iLbwILd8=; b=x5cCAWI741Y2xZMgM40nCb06FQYRw37yhjp6mcQCdS3ae2Z62KlLpiXgqHURvJ1tA9 YRyxzcfsm0IdyvOnwz40OEHnCuwjbxCN9ldYUgfktkgtjEJKHkdVaZmSz4wZOGmkhEIA pperN2eSn/udN/wY8PmrHItn0zMu586rWbZeE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GY15tSGT2NVt9Am4pydrABZFO5+P7/NaKZcp+be6FSchBsylfgyX7koBkxSGXxfAQJ 3kMECeWcpZXChDOMXA38jGrSp1WU+KipkoZT5Vf0Is1KRH42hOpBRTHTuae1swxa3K6O Pi2Ue0mwO5XU8hC8nlSNh1BRIHKWQl9vBp3ZI= MIME-Version: 1.0 Received: by 10.216.21.206 with SMTP id r56mr407829wer.31.1286852801776; Mon, 11 Oct 2010 20:06:41 -0700 (PDT) Received: by 10.216.35.148 with HTTP; Mon, 11 Oct 2010 20:06:41 -0700 (PDT) In-Reply-To: <4CB3CC70.9010207@real.com> References: <4CB3B17D.9060403@real.com> <4CB3CC70.9010207@real.com> Date: Mon, 11 Oct 2010 22:06:41 -0500 Message-ID: Subject: Re: getSchemaVersion From: Jonathan Ellis To: user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Oct 11, 2010 at 9:48 PM, B. Todd Burruss wrote: > i was actually doing this to start with and was worried that i could have > two clients modifying schemas at the same time. =A0it seems this could ca= use > multiple valid versions and a race condition. =A0maybe it simply "works o= ut" > that i wait until only one version is in the map, *if* get the version ma= p > from the same host that i used to modify the schema? I don't think you need to worry about that specific scenario but the whole schema change code is designed with the precondition that you are only making changes from one node at a time. If you can't make that assumption then you need to lock. --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com