cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6953) Optimise CounterCell#reconcile
Date Mon, 31 Mar 2014 09:57:15 GMT

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

Sylvain Lebresne commented on CASSANDRA-6953:
---------------------------------------------

lgtm, +1.

> Optimise CounterCell#reconcile
> ------------------------------
>
>                 Key: CASSANDRA-6953
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6953
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 2.1 beta2
>
>
> Can't have CASSANDRA-6506 in 2.1, but we can get *some* of the benefit by optimising
CounterCell#reconcile() as it is.
> Specifically, if one context is a superset of the other one, there is no need to allocate
a BB for the resulting context and merge them - we can just return the superset context. With
2.1 producing global shards exclusively, this would minimize allocations by a lot for reads
from multiple sstables.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message