You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kristoffer Carlson (Created) (JIRA)" <ji...@apache.org> on 2012/03/01 20:43:58 UTC

[jira] [Created] (CASSANDRA-3987) Cannot reuse row key after deletion.

Cannot reuse row key after deletion.
------------------------------------

                 Key: CASSANDRA-3987
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3987
             Project: Cassandra
          Issue Type: Bug
          Components: API
    Affects Versions: 1.0.8
         Environment: Mac OSX
            Reporter: Kristoffer Carlson
            Priority: Minor


If a row with columns is inserted using key "A" and then the same key "A" is deleted, the key "A" cannot be used again. 

This only happens through the Thrift interface. It does work, however, through the cli.

The writes were done using a batch_mutate.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3987) Cannot reuse row key after deletion.

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3987.
---------------------------------------

    Resolution: Not A Problem

If you delete a row at time X and want to re-insert it, you need to use time > X.
                
> Cannot reuse row key after deletion.
> ------------------------------------
>
>                 Key: CASSANDRA-3987
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3987
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.8
>         Environment: Mac OSX
>            Reporter: Kristoffer Carlson
>            Priority: Minor
>
> If a row with columns is inserted using key "A" and then the same key "A" is deleted, the key "A" cannot be used again. 
> This only happens through the Thrift interface. It does work, however, through the cli.
> The writes were done using a batch_mutate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3987) Cannot reuse row key after deletion.

Posted by "Kristoffer Carlson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220395#comment-13220395 ] 

Kristoffer Carlson commented on CASSANDRA-3987:
-----------------------------------------------

Thank you, that was exactly the issue!
                
> Cannot reuse row key after deletion.
> ------------------------------------
>
>                 Key: CASSANDRA-3987
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3987
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.8
>         Environment: Mac OSX
>            Reporter: Kristoffer Carlson
>            Priority: Minor
>
> If a row with columns is inserted using key "A" and then the same key "A" is deleted, the key "A" cannot be used again. 
> This only happens through the Thrift interface. It does work, however, through the cli.
> The writes were done using a batch_mutate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira