cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2896) Del command doesn't work in cli
Date Fri, 15 Jul 2011 17:19:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066088#comment-13066088
] 

Pavel Yaskevich commented on CASSANDRA-2896:
--------------------------------------------

We assume that column was removed if thrift call returned without an error that is why it
returns "column removed".

Running cassandra-0.8 branch does not have such an error and tests pass:

{noformat}
[default@unknown] connect localhost/9160;
Connected to: "Test Cluster" on localhost/9160
[default@unknown] create keyspace test;
c9ec9fe0-af05-11e0-0000-242d50cf1f9f
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] use test;
Authenticated to keyspace: test
[default@test] create column family test;
d0999be0-af05-11e0-0000-242d50cf1f9f
Waiting for schema agreement...
... schemas agree across the cluster
[default@test] set test[123][123] = 1;
Value inserted.
[default@test] list test;
Using default limit of 100
-------------------
RowKey: 0123
=> (column=0123, value=31, timestamp=1310750040745000)

1 Row Returned.
[default@test] del test[123][123];
column removed.
[default@test] list test;
Using default limit of 100
-------------------
RowKey: 0123

1 Row Returned.
[default@test] get test[123][123];
Value was not found
[default@test]
{noformat}

I assume that we should close this one with Not a problem.

> Del command doesn't work in cli
> -------------------------------
>
>                 Key: CASSANDRA-2896
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2896
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Joaquin Casares
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8.2
>
>
> [default@unknown] connect localhost/9160;
> Connected to: "Test Cluster" on localhost/9160
> [default@unknown] use test;
> Authenticated to keyspace: test
> [default@test] get test[123][123];    
> => (column=0123, value=31, timestamp=1310576784324000)
> [default@test] del test[123][123];    
> column removed.
> [default@test] get test[123][123];
> => (column=0123, value=31, timestamp=1310576784324000)
> Does the same in 0.8.1 still both times in a single node.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message