Aleksey Yeschenko created CASSANDRA-6953:
--------------------------------------------
Summary: 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
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)