You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/03/31 11:57:15 UTC
[jira] [Commented] (CASSANDRA-6953) Optimise CounterCell#reconcile
[ 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)