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 777979628 for ; Wed, 5 Oct 2011 18:17:53 +0000 (UTC) Received: (qmail 38452 invoked by uid 500); 5 Oct 2011 18:17:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 38429 invoked by uid 500); 5 Oct 2011 18:17:51 -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 38421 invoked by uid 99); 5 Oct 2011 18:17:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 18:17:51 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.115.88.169] (HELO smtp-out-1.01.com) (216.115.88.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 18:17:44 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 8F6799D11BF for ; Wed, 5 Oct 2011 13:17:22 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp-out-1.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pFytdcCDrQFc for ; Wed, 5 Oct 2011 13:17:22 -0500 (CDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 5F2BC9D11DA for ; Wed, 5 Oct 2011 13:17:22 -0500 (CDT) Received: from mail-1.01.com (mail.01.com [10.17.30.166]) by smtp-out-1.01.com (Postfix) with ESMTP id 4F33E9D11C9 for ; Wed, 5 Oct 2011 13:17:22 -0500 (CDT) Date: Wed, 5 Oct 2011 13:17:22 -0500 (CDT) From: "Konstantin Naryshkin" To: user@cassandra.apache.org Subject: Re: Question about sharding of rows and atomicity Message-ID: <9992f146-987a-4fd5-ad7a-bdd1d588667b@klap> In-Reply-To: <4E8C9D60.7000109@likewise.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Originating-IP: [10.17.31.174] X-Mailer: Zimbra 7.1.1_GA_3225 (ZCS/7.1.1_GA_3225) X-Virus-Checked: Checked by ClamAV on apache.org Cassandra does not break apart a row. All of the columns of a row are kept on the same nodes. I believe that writing multiple columns of the same row is transactional, but not atomic. By which I mean that if one column is written all the other ones will be written as well, but if a read happens while the write is being done it is possible that only some of the columns will have the new values. ----- Original Message ----- From: "Don Smith" To: user@cassandra.apache.org Sent: Wednesday, October 5, 2011 2:09:36 PM Subject: Question about sharding of rows and atomicity Does Cassandra shard the columns of a single row across multiple nodes so that to read the columns of the row it may need access to multiple nodes? I'd say "no." Will a read from a given node ever return partial results or is the write to a node of a row atomic? Thanks, Don