Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6953

Optimise CounterCell#reconcile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 beta2
    • 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.

      Attachments

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: