You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Anthony Molinaro (Commented) (JIRA)" <ji...@apache.org> on 2012/04/13 07:38:04 UTC
[jira] [Commented] (CASSANDRA-4091) multiget_slice thrift interface
always returns empty list in erlang
[ https://issues.apache.org/jira/browse/CASSANDRA-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253130#comment-13253130 ]
Anthony Molinaro commented on CASSANDRA-4091:
---------------------------------------------
FWIW, I can't reproduce this with apache-cassandra-1.0.8 and thrift HEAD, so good that this was resolved not an issue. It's not an issue in thrift as far as I am concerned.
> multiget_slice thrift interface always returns empty list in erlang
> -------------------------------------------------------------------
>
> Key: CASSANDRA-4091
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4091
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.6, 1.0.8
> Environment: OS: tried on os x lion and fedora 16
> thrift: 0.8.0
> cassandra: tried apache cassandra 1.0.6 and datastax 1.0.8
> erlang: R14B04
> Reporter: varnitk
>
> multiget_slice doesn't work in erlang and always returns an empty list, however multiget_count does for the same set of keys. Sample code:
> Keys = [<<"key1">>, <<"key2">>],
> ColumnParent = #columnParent{column_family=ColumnFamily},
> SliceRange = #sliceRange{start="", finish="", reversed=false, count=2147483647},
> SlicePredicate = #slicePredicate{slice_range=SliceRange, column_names=undefined},
> {ok, Conn} = thrift_client_util:new(Host, Port, cassandra_thrift, [{framed, true}]), ok,
> {Conn2, {ok, ok}} = thrift_client:call(Conn, set_keyspace, [Keyspace]),
> {NewCon, Response} = thrift_client:call(Conn2, multiget_slice, [Keys, ColumnParent, SlicePredicate, 1]),
> Response: {ok, []}
> Please fix.
--
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