[jira] [Updated] (CASSANDRA-6363) CAS not applied on rows containing an expired ttl column
[ https://issues.apache.org/jira/browse/CASSANDRA-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Hanna updated CASSANDRA-6363: Labels: LWT (was: ) > CAS not applied on rows containing an expired ttl column > > > Key: CASSANDRA-6363 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6363 > Project: Cassandra > Issue Type: Bug > Components: Coordination > Environment: Linux/x64 2.0.2 4-node cluster >Reporter: Michał Ziemski >Assignee: Stefania >Priority: Major > Labels: LWT > > CREATE TABLE session ( > id text, > usr text, > valid int, > PRIMARY KEY (id) > ); > insert into session (id, usr) values ('abc', 'abc'); > update session using ttl 1 set valid = 1 where id = 'abc'; > (wait 1 sec) > And > delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr > ='demo'; > Yields: > [applied] | usr > ---+- > False | abc > Rather than applying the delete. > Executing: > update session set valid = null where id = 'abc'; > and again > delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr > ='demo'; > Positively deletes the row. -- 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-6363) CAS not applied on rows containing an expired ttl column
[ https://issues.apache.org/jira/browse/CASSANDRA-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefania updated CASSANDRA-6363: Component/s: Coordination > CAS not applied on rows containing an expired ttl column > > > Key: CASSANDRA-6363 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6363 > Project: Cassandra > Issue Type: Bug > Components: Coordination > Environment: Linux/x64 2.0.2 4-node cluster >Reporter: Michał Ziemski >Assignee: Stefania > > CREATE TABLE session ( > id text, > usr text, > valid int, > PRIMARY KEY (id) > ); > insert into session (id, usr) values ('abc', 'abc'); > update session using ttl 1 set valid = 1 where id = 'abc'; > (wait 1 sec) > And > delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr > ='demo'; > Yields: > [applied] | usr > ---+- > False | abc > Rather than applying the delete. > Executing: > update session set valid = null where id = 'abc'; > and again > delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr > ='demo'; > Positively deletes the row. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-6363) CAS not applied on rows containing an expired ttl column
[ https://issues.apache.org/jira/browse/CASSANDRA-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-6363: --- Assignee: Stefania (was: Ryan McGuire) CAS not applied on rows containing an expired ttl column Key: CASSANDRA-6363 URL: https://issues.apache.org/jira/browse/CASSANDRA-6363 Project: Cassandra Issue Type: Bug Components: Core Environment: Linux/x64 2.0.2 4-node cluster Reporter: Michał Ziemski Assignee: Stefania CREATE TABLE session ( id text, usr text, valid int, PRIMARY KEY (id) ); insert into session (id, usr) values ('abc', 'abc'); update session using ttl 1 set valid = 1 where id = 'abc'; (wait 1 sec) And delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr ='demo'; Yields: [applied] | usr ---+- False | abc Rather than applying the delete. Executing: update session set valid = null where id = 'abc'; and again delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr ='demo'; Positively deletes the row. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-6363) CAS not applied on rows containing an expired ttl column
[ https://issues.apache.org/jira/browse/CASSANDRA-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Shuler updated CASSANDRA-6363: -- Assignee: Ryan McGuire CAS not applied on rows containing an expired ttl column Key: CASSANDRA-6363 URL: https://issues.apache.org/jira/browse/CASSANDRA-6363 Project: Cassandra Issue Type: Bug Components: Core Environment: Linux/x64 2.0.2 4-node cluster Reporter: Michał Ziemski Assignee: Ryan McGuire CREATE TABLE session ( id text, usr text, valid int, PRIMARY KEY (id) ); insert into session (id, usr) values ('abc', 'abc'); update session using ttl 1 set valid = 1 where id = 'abc'; (wait 1 sec) And delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr ='demo'; Yields: [applied] | usr ---+- False | abc Rather than applying the delete. Executing: update session set valid = null where id = 'abc'; and again delete from session where id = 'DSYUCTCLSOEKVLAQWNWYLVQMEQGGXD' if usr ='demo'; Positively deletes the row. -- This message was sent by Atlassian JIRA (v6.2#6252)