cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
Date Fri, 20 Jun 2014 23:46:25 GMT

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

Tyler Hobbs updated CASSANDRA-6839:
-----------------------------------

    Attachment: 6839-v2.txt

The v2 patch adds support for IN operations. The same [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6839]
has been updated with a couple of commits, as well.  I also pushed another commit to my [dtest
branch|https://github.com/thobbs/cassandra-dtest/tree/CASSANDRA-6839].

This turned out to be a bit more complex than I expected, but the test coverage is pretty
good here now.  I added some unit tests to cover equality checks on the various Bounds subclasses.

> Support non equal conditions (for LWT)
> --------------------------------------
>
>                 Key: CASSANDRA-6839
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6839
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Tyler Hobbs
>            Priority: Minor
>             Fix For: 2.0.9
>
>         Attachments: 6839-v2.txt, 6839.txt
>
>
> We currently only support equal conditions in conditional updates, but it would be relatively
trivial to support non-equal ones as well. At the very least we should support '>', '>=',
'<' and '<=', though it would probably also make sense to add a non-equal relation too
('!=').



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message