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 023FF116E4 for ; Thu, 12 Jun 2014 19:47:03 +0000 (UTC) Received: (qmail 32152 invoked by uid 500); 12 Jun 2014 19:47:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32118 invoked by uid 500); 12 Jun 2014 19:47:02 -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 32099 invoked by uid 99); 12 Jun 2014 19:47:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 19:47:02 +0000 Date: Thu, 12 Jun 2014 19:47:02 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-7394) Optimize CollationController#collectTimeOrderedData() to potentially skip the sstables altogether MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aleksey Yeschenko created CASSANDRA-7394: -------------------------------------------- Summary: Optimize CollationController#collectTimeOrderedData() to potentially skip the sstables altogether Key: CASSANDRA-7394 URL: https://issues.apache.org/jira/browse/CASSANDRA-7394 Project: Cassandra Issue Type: Improvement Reporter: Aleksey Yeschenko Priority: Minor As of now, collectTimeOrderedData() will try to read from at least one sstable, even if the request can be fulfilled from the memtable exclusively. If we initiate mostRecentRowTombstone with the value from the memtables and not Long.MIN_VALUE, reading from the sstables can be avoided entirely. -- This message was sent by Atlassian JIRA (v6.2#6252)