Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 162FE18580 for ; Fri, 30 Oct 2015 19:55:38 +0000 (UTC) Received: (qmail 95965 invoked by uid 500); 30 Oct 2015 19:55:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 95876 invoked by uid 500); 30 Oct 2015 19:55:28 -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 95506 invoked by uid 99); 30 Oct 2015 19:55:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 19:55:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0156E2C1F7D for ; Fri, 30 Oct 2015 19:55:28 +0000 (UTC) Date: Fri, 30 Oct 2015 19:55:28 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10571) ClusteringIndexNamesFilter::shouldInclude is not implemented, SinglePartitionNamesCommand not discarding the sstables it could 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-10571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983185#comment-14983185 ] Aleksey Yeschenko commented on CASSANDRA-10571: ----------------------------------------------- +1 > ClusteringIndexNamesFilter::shouldInclude is not implemented, SinglePartitionNamesCommand not discarding the sstables it could > ------------------------------------------------------------------------------------------------------------------------------ > > Key: CASSANDRA-10571 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10571 > Project: Cassandra > Issue Type: Bug > Reporter: Aleksey Yeschenko > Assignee: Sylvain Lebresne > Fix For: 3.0.0 > > > Now that we use {{SinglePartitionNamesCommand}} in more places - where we'd previously use what is now {{SinglePartitionSliceCommand}} - not being able to skip sstables with non-overlapping clusterings is actually a performance regression. > {{SinglePartitionNamesCommand::queryMemtableAndDiskInternal}} should prune sstables based on {{ClusteringIndexNamesFilter::shouldInclude}} output, and the latter must be replaced with an actual implementation instead of a {{TODO}}. > This is also a potentially a big regression in performance for counter writes (say, with DTCS), since before 3.0, the read-before-write code would use {{collectAllData}}, and that *was* pruning sstable with non-overlapping clusterings. -- This message was sent by Atlassian JIRA (v6.3.4#6332)