You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Neophytos Demetriou (JIRA)" <ji...@apache.org> on 2009/03/29 00:22:50 UTC

[jira] Commented: (CASSANDRA-21) get_columns_in fails when when routed to a node that isn't the home for the key

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

Neophytos Demetriou commented on CASSANDRA-21:
----------------------------------------------

Check get_slice_by_names ot get_slice_super_by_names. 

> get_columns_in fails when when routed to a node that isn't the home for the key
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: all
>            Reporter: Sandeep Tata
>         Attachments: patch_readmessage.txt, ReadMessageTest.java
>
>
> get_columns_in fails when the request cannot be satisfied locally.
> What steps will reproduce the problem?
> 1. Insert multiple columns in some row R in a Cassandra cluster that 
> contains more than 1 node.
> 2. Submit a get_columns_in query to a bunch of nodes. Using the python thrift 
> interface, this is something  like: 
> ./Cassandra-remote -h node0:9160 get_columns_in 'Mailbox' 'rowid123' 
> 'HeaderList' "['col1','col2']"
> ./Cassandra-remote -h node1:9160 get_columns_in 'Mailbox' 'rowid123' 
> 'HeaderList' "['col1','col2']"
>  
> I've traced the error to a bug in how ReadMessage.java gets de-serialized. See attached unit-test to reproduce this.
> I'm also attaching a patch that fixes this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.