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

Fit partitioned counter directly into CounterColumn.value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None

    Description

      The current implementation of CounterColumn keeps both the partitioned
      counter and the total value of the counter (that is, the sum of the parts of
      the partitioned counter).
      This waste space and this requires the code to keep both representation in
      sync. This ticket propose to remove the total value from the representation
      and to only calculate it when returning the value to the client.

      NOTE: this breaks the on-disk file format (for counters)

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              slebresne Sylvain Lebresne
              Sylvain Lebresne
              Kelvin Kakugawa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified