Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 1420 invoked from network); 18 May 2009 21:06:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 May 2009 21:06:09 -0000 Received: (qmail 51232 invoked by uid 500); 18 May 2009 21:06:09 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 51213 invoked by uid 500); 18 May 2009 21:06:09 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 51203 invoked by uid 99); 18 May 2009 21:06:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 21:06:09 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 21:06:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D71C29A0011 for ; Mon, 18 May 2009 14:05:45 -0700 (PDT) Message-ID: <153066789.1242680745564.JavaMail.jira@brutus> Date: Mon, 18 May 2009 14:05:45 -0700 (PDT) From: "Jun Rao (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-172) A improved and more general version of get_slice In-Reply-To: <1105776877.1242243646322.JavaMail.jira@brutus> 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-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710491#action_12710491 ] Jun Rao commented on CASSANDRA-172: ----------------------------------- For the CF wrapper, I need to resolve a column at a time so that I know when I have enough columns to return (since a column could be deleted). I am not exactly sure how to apply your addColumn suggestion, since there is no place to call a single final resolve. If all iterators are empty, an empty CF will be returned. I don't really need to update the tombstone in the CF unless for read-repair considerations. However, the current read-repair logic doesn't deal with CF removal. > A improved and more general version of get_slice > ------------------------------------------------ > > Key: CASSANDRA-172 > URL: https://issues.apache.org/jira/browse/CASSANDRA-172 > Project: Cassandra > Issue Type: New Feature > Reporter: Jun Rao > Assignee: Jun Rao > Fix For: 0.4 > > Attachments: get_slice_from.patchv1, get_slice_from.patchv2 > > > Today, get_slice has to scan through all columns in every memtable and sstable to get a slice of columns. This becomes inefficient when the number of columns in a row is large. We need a more efficient API. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.