cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2440) Merge ColumnOrSuperColumn and Counter thrift structure to avoid most of the counter API call duplication
Date Sun, 10 Apr 2011 10:53:05 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne updated CASSANDRA-2440:
----------------------------------------

    Attachment: 0002-Merge-Counter-and-ColumnOrSuperColumn-thrift-structu.patch
                0001-Thrift-changes.patch

Patch attached (first patch is cassandra.thrift plus the thrift generated file changes, patch
two is the rest). 

> Merge ColumnOrSuperColumn and Counter thrift structure to avoid most of the counter API
call duplication
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2440
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2440
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.8
>
>         Attachments: 0001-Thrift-changes.patch, 0002-Merge-Counter-and-ColumnOrSuperColumn-thrift-structu.patch,
cassandra.thrift
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message