[jira] [Updated] (CASSANDRA-6870) Transform operation
[ https://issues.apache.org/jira/browse/CASSANDRA-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Hanna updated CASSANDRA-6870: Labels: LWT (was: ) > Transform operation > --- > > Key: CASSANDRA-6870 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6870 > Project: Cassandra > Issue Type: New Feature >Reporter: Edward Capriolo >Assignee: Edward Capriolo >Priority: Minor > Labels: LWT > > Compare and swap uses paxos to only update a value only if some criteria is > met. If I understand correctly we should be able to use this feature to > provide a wider variety of server side operations. > For example inside a paxos transaction performing a slice and then using a > function to manipulate the slice. You could accomplish features like append > and increment this way without user needing to know the current value. > I took a stab at doing this. I **think** I did it correctly. Comments welcome. -- 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-6870) Transform operation
[ https://issues.apache.org/jira/browse/CASSANDRA-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward Capriolo updated CASSANDRA-6870: --- Description: Compare and swap uses paxos to only update a value only if some criteria is met. If I understand correctly we should be able to use this feature to provide a wider variety of server side operations. For example inside a paxos transaction performing a slice and then using a function to manipulate the slice. You could accomplish features like append and increment this way without user needing to know the current value. I took a stab at doing this. I **think** I did it correctly. Comments welcome. was: Compare and swap uses paxos to only update a value only if some criteria is met. If I understand correctly we should be able to use this feature to provide a wider variety of server side operations. For example inside a paxos transaction performing a slice and then using a function to manipulate the slice. You could accomplish features like append and increment this way. I took a stab at doing this. I **think** I did it correctly. Comments welcome. Transform operation --- Key: CASSANDRA-6870 URL: https://issues.apache.org/jira/browse/CASSANDRA-6870 Project: Cassandra Issue Type: New Feature Reporter: Edward Capriolo Assignee: Edward Capriolo Priority: Minor Compare and swap uses paxos to only update a value only if some criteria is met. If I understand correctly we should be able to use this feature to provide a wider variety of server side operations. For example inside a paxos transaction performing a slice and then using a function to manipulate the slice. You could accomplish features like append and increment this way without user needing to know the current value. I took a stab at doing this. I **think** I did it correctly. Comments welcome. -- This message was sent by Atlassian JIRA (v6.2#6252)