Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 59737 invoked from network); 10 Jan 2011 02:08:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2011 02:08:06 -0000 Received: (qmail 58478 invoked by uid 500); 10 Jan 2011 02:08:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 58423 invoked by uid 500); 10 Jan 2011 02:08:06 -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 58415 invoked by uid 99); 10 Jan 2011 02:08:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 02:08:06 +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; Mon, 10 Jan 2011 02:08:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0A27jxW002332 for ; Mon, 10 Jan 2011 02:07:45 GMT Message-ID: <15361456.245321294625265760.JavaMail.jira@thor> Date: Sun, 9 Jan 2011 21:07:45 -0500 (EST) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (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 [ https://issues.apache.org/jira/browse/CASSANDRA-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1936: -------------------------------------- Remaining Estimate: 16h Original Estimate: 16h > 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, 1936-ALT-0001-lazily-materialize-value.patch > > Original Estimate: 16h > Remaining Estimate: 16h > > 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.