not working server generated object keys in riak-erlang-client

Sean Cribbs sean at basho.com
Sat May 7 13:49:37 EDT 2011


This might not be available until the next release. A lot of features were applied to the Protocol Buffers interface to bring it closer to the features provided in the HTTP interface, but these are only available on the 'master' branch.  You'll have to use the master branch of both the client and Riak.

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On May 7, 2011, at 5:47 AM, Dmitry Rozhkov wrote:

> Hi!
> 
> I've just tried to put an object without a key as described in the docs, but this feature doesn't seem to work (sasl-error.log attached):
> 
> ==========================================
> 1> Object = riakc_obj:new(<<"boss_db_test_parent_models">>, undefined, <<"first">>).   
> {riakc_obj,<<"boss_db_test_parent_models">>,undefined,
>           undefined,[],undefined,<<"first">>}
> 2> {ok, Conn} = riakc_pb_socket:start_link("testhost", 8087).
> {ok,<0.38.0>}
> 3> riakc_pb_socket:put(Conn, Object). 
> 
> =ERROR REPORT==== 7-May-2011::14:34:21 ===
> ** Generic server <0.38.0> terminating 
> ** Last message in was {tcp_closed,#Port<0.1131>}
> ** When Server state == {state,"testhost",8087,false,false,undefined,undefined,
>                               {[],[]},
>                               1,[],infinity,100}
> ** Reason for termination == 
> ** disconnected
> ** exception exit: disconnected
> ==========================================
> 
> With a key provided everything works ok.
> Can it be a server issue?
> 
> BR,
> Dmitry
> <sasl-error.log>_______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list