You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with my nodes ,i just update the riak.conf file and specify the storage_backend parameter to multi.
after that i use the command
riak-admin bucket-type create memory_backend '{"props":{"backend":"memory"}}'
to create a new bucket type.
then i start the link
{ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).
then create a new object and want to put it in the bucket which bear the bucket-type named memory_backend.
Object1 = riakc_obj:new({<<"memory_backend">>, <<"my_bucket">>},
<<"user19735">>,<<"xx">>).
finally,i try to put the object to database with the command,
riakc_pb_socket:put(Pid, Object1).
Unfortunately,the server just stuck there,and not return any info.
why?
The text was updated successfully, but these errors were encountered:
Basho-JIRA
changed the title
bucket type use issue
bucket type use issue [JIRA: RIAK-1665]
Apr 2, 2015
with my nodes ,i just update the riak.conf file and specify the storage_backend parameter to multi.
after that i use the command
riak-admin bucket-type create memory_backend '{"props":{"backend":"memory"}}'
to create a new bucket type.
then i start the link
{ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).
then create a new object and want to put it in the bucket which bear the bucket-type named memory_backend.
Object1 = riakc_obj:new({<<"memory_backend">>, <<"my_bucket">>},
<<"user19735">>,<<"xx">>).
finally,i try to put the object to database with the command,
riakc_pb_socket:put(Pid, Object1).
Unfortunately,the server just stuck there,and not return any info.
why?
The text was updated successfully, but these errors were encountered: