Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
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.