[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Hanna updated CASSANDRA-6839: Labels: LWT (was: ) > 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 > Labels: LWT > Fix For: 2.1.1 > > Attachments: 6839-2.1.txt, 6839-v2.txt, 6839-v3.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 (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-6839: --- Attachment: 6839-2.1.txt 6839-2.1.txt (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6839-2.1]) is rebased for 2.1. I also have a [dtest branch|https://github.com/thobbs/cassandra-dtest/tree/CASSANDRA-6839] that covers the changes pretty thoroughly. 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.1.1 Attachments: 6839-2.1.txt, 6839-v2.txt, 6839-v3.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)
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-6839: Fix Version/s: (was: 2.0.10) 2.1.1 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.1.1 Attachments: 6839-v2.txt, 6839-v3.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)
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-6839: --- Attachment: 6839-v3.txt The v3 patch makes the suggested changes. The branch is also updated along with the dtest branch. 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.10 Attachments: 6839-v2.txt, 6839-v3.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)
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ 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)
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-6839: -- Reviewer: Sylvain Lebresne 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.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)
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-6839: --- Attachment: 6839.txt The attached patch (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6839]) adds support for , =, , =, and != in CAS operations. I've also created some [dtests|https://github.com/thobbs/cassandra-dtest/tree/CASSANDRA-6839]. It seems like we should also add support for {{IN}}. I can add do that in this ticket, if we'd like, or I can create a new ticket for that. 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.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)