Timeout when accessing a key in a strongly consistent bucket

zsolt.laky at lamardan.com zsolt.laky at lamardan.com
Thu Jun 26 17:07:55 EDT 2014


Hello There,

 

I installed 2.0.0pre5 on OSX and I experience timeout situation. Here are
the commands I run and I attached the config file.

 

It seems RIAK is aware of the strongly_consistent bucket type but I am not
able to get or put data from/into it.

 

Only the first query for the keys in the bucket succeeds with {}. Other
commands are experimental to describe the problem.

 

Could somebody help to resolve this?

 

Thanks in advance and kind regards

Zsolt

mac:bin zsoci$ ./riak-admin member-status

================================= Membership
==================================

Status     Ring    Pending    Node

----------------------------------------------------------------------------
---

valid      34.4%      --      'riak1 at 127.0.0.1'

valid      32.8%      --      'riak2 at 127.0.0.1'

valid      32.8%      --      'riak3 at 127.0.0.1'

----------------------------------------------------------------------------
---

Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0

mac:bin zsoci$ ./riak-admin bucket-type list

strongly_consistent (active)

mac:bin zsoci$ curl -XGET
http://127.0.0.1:8101/types/strongly_consistent/buckets/test1/keys

{}mac:bin zsoci$

mac:bin zsoci$ curl -XGET
http://127.0.0.1:8101/types/strongly_consistent/buckets/test1/keys/a

request timed out

mac:bin zsoci$ curl -XGET
http://127.0.0.1:8101/types/strongly_consistentx/buckets/test1/keys/a

Unknown bucket type: strongly_consistentxmac:bin zsoci$

mac:bin zsoci$ curl -XPUT -H "Content-Type: text/plain" -d "haho"
http://127.0.0.1:8101/types/strongly_consistent/buckets/test1/keys/user1

request timed out

mac:bin zsoci$



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140626/bd74cb1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riak.conf
Type: application/octet-stream
Size: 12071 bytes
Desc: not available
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140626/bd74cb1d/attachment.conf>


More information about the riak-users mailing list