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 5145617D11 for ; Mon, 20 Oct 2014 11:07:34 +0000 (UTC) Received: (qmail 4179 invoked by uid 500); 20 Oct 2014 11:07:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 4147 invoked by uid 500); 20 Oct 2014 11:07:34 -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 4135 invoked by uid 99); 20 Oct 2014 11:07:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 11:07:34 +0000 Date: Mon, 20 Oct 2014 11:07:34 +0000 (UTC) From: "Branimir Lambov (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7237) Optimize batchlog manager to avoid full scans 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-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Branimir Lambov updated CASSANDRA-7237: --------------------------------------- Fix Version/s: (was: 2.1.2) 3.0 > Optimize batchlog manager to avoid full scans > --------------------------------------------- > > Key: CASSANDRA-7237 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7237 > Project: Cassandra > Issue Type: Improvement > Reporter: Aleksey Yeschenko > Assignee: Branimir Lambov > Priority: Minor > Fix For: 3.0 > > > Now that we use time-UUIDs for batchlog ids, and given that w/ local strategy the partitions are ordered in time-order here, we can optimize the scanning by limiting the range to replay taking the last replayed batch's id as the beginning of the range, and uuid(now+timeout) as its end. -- This message was sent by Atlassian JIRA (v6.3.4#6332)