cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branimir Lambov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7237) Optimize batchlog manager to avoid full scans
Date Thu, 06 Aug 2015 11:42:06 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659870#comment-14659870
] 

Branimir Lambov commented on CASSANDRA-7237:
--------------------------------------------

Thank you for the review and changes, which all look good.

The requested followups are uploaded [here|https://github.com/apache/cassandra/compare/trunk...blambov:7237-aleksey-comments];
[dtest|http://cassci.datastax.com/view/Dev/view/blambov/job/blambov-7237-aleksey-comments-dtest/],
[testall|http://cassci.datastax.com/view/Dev/view/blambov/job/blambov-7237-aleksey-comments-testall/].

> 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.0 rc1
>
>
> 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)

Mime
View raw message