cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-2341) Cli support for counters
Date Wed, 16 Mar 2011 13:58:29 GMT


Sylvain Lebresne updated CASSANDRA-2341:

    Attachment: 0001-Add-counter-support-to-cli.patch

Attached patch add two new cli commands: incr and decr. Both use a value of 1 by default but
can be given another delta with 'by x'. Negative delta are fine so decrement is really just
syntactic sugar.

The get and get_slice are also modified to use counter operation when needed.

Remove is also implemented. As a side note, there is an inconsistency with remove since it
assumes the key to be a utf-8 string while get and set assumes an hex string, making testing
remove pretty annoying. 

> Cli support for counters
> ------------------------
>                 Key: CASSANDRA-2341
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.8
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.8
>         Attachments: 0001-Add-counter-support-to-cli.patch
>   Original Estimate: 6h
>  Remaining Estimate: 6h
> The cli should have support for counters operation

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message