Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 23148 invoked from network); 5 Jan 2011 16:05:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 16:05:10 -0000 Received: (qmail 52112 invoked by uid 500); 5 Jan 2011 16:05:10 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 52092 invoked by uid 500); 5 Jan 2011 16:05:10 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 52052 invoked by uid 99); 5 Jan 2011 16:05:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 16:05:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 16:05:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05G4lIc029345 for ; Wed, 5 Jan 2011 16:04:47 GMT Message-ID: <5245149.162201294243487391.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 11:04:47 -0500 (EST) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1936) Fit partitioned counter directly into CounterColumn.value In-Reply-To: <10751847.161851294242166235.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977807#action_12977807 ] Sylvain Lebresne commented on CASSANDRA-1936: --------------------------------------------- Oh right, forgot this was in 0.7 too. I'll do that. > Fit partitioned counter directly into CounterColumn.value > ---------------------------------------------------------- > > Key: CASSANDRA-1936 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1936 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Fix For: 0.8 > > Attachments: 0001-Put-partitioned-counter-directly-in-column-value.patch > > > The current implementation of CounterColumn keeps both the partitioned > counter and the total value of the counter (that is, the sum of the parts of > the partitioned counter). > This waste space and this requires the code to keep both representation in > sync. This ticket propose to remove the total value from the representation > and to only calculate it when returning the value to the client. > NOTE: this breaks the on-disk file format (for counters) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.