Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 85614 invoked from network); 18 Sep 2010 07:27:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 07:27:15 -0000 Received: (qmail 14227 invoked by uid 500); 18 Sep 2010 07:27:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 14163 invoked by uid 500); 18 Sep 2010 07:27:13 -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 14155 invoked by uid 99); 18 Sep 2010 07:27:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 07:27:12 +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; Sat, 18 Sep 2010 07:26:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8I7QX21026246 for ; Sat, 18 Sep 2010 07:26:33 GMT Message-ID: <21161629.267571284794793675.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 03:26:33 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1337) parallelize fetching rows for low-cardinality indexes In-Reply-To: <16239004.77391280440396284.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-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910911#action_12910911 ] Jonathan Ellis commented on CASSANDRA-1337: ------------------------------------------- (StorageProxy.scan is the code in question.) > parallelize fetching rows for low-cardinality indexes > ----------------------------------------------------- > > Key: CASSANDRA-1337 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1337 > Project: Cassandra > Issue Type: Improvement > Reporter: Jonathan Ellis > Priority: Minor > Fix For: 0.7.1 > > > currently, we read the indexed rows from the first node (in partitioner order); if that does not have enough matching rows, we read the rows from the next, and so forth. > we should use the statistics fom CASSANDRA-1155 to query multiple nodes in parallel, such that we have a high chance of getting enough rows w/o having to do another round of queries (but, if our estimate is incorrect, we do need to loop and do more rounds until we have enough data or we have fetched from each node). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.