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

Merge ColumnOrSuperColumn and Counter thrift structure to avoid most of the counter API call duplication

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.8 beta 1
    • Component/s: Legacy/CQL
    • Labels:
      None

      Description

      Having duplicate calls for all counter operation is ugly. Distinguishing a Column from a CounterColumn is a good idea, but I feel we went too far in making counters an API on its own. This ticket proposes to merge the Counter and ColumnOrSuperColumn thrift structure (while keeping CounterColumn and CounterSuperColumn) and to remove all the duplicate API calls.

        Attachments

        1. 0001-Thrift-changes.patch
          394 kB
          Sylvain Lebresne
        2. 0002-Merge-Counter-and-ColumnOrSuperColumn-thrift-structu.patch
          46 kB
          Sylvain Lebresne
        3. cassandra.thrift
          27 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
              Reviewers:
              Jonathan Ellis
            • Votes:
              1 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