-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
How do you use riak with strongly consistent buckets? Errors with {:error, "`undefined` is not a supported type"}
# Create a 3 node riak cluster
riak-admin bucket-type create strongly_consistent \
'{"props":{"consistent":true}}'
riak-admin bucket-type activate strongly_consistent
# Test if the cluster is working
curl -v 172.17.0.2:8098/types/strongly_consistent/buckets/test/keys/hello \
-X PUT \
-H "Content-type: text/plain" \
-d "world"
curl -v 172.17.0.2:8098/types/strongly_consistent/buckets/test/keys/hello
# Elixir
{:ok, pid} = Riak.Connection.start_link('172.17.0.2', 8087)
{:ok, #PID<0.399.0>}
iex(3)> :riakc_pb_socket.fetch_type(pid, {"strongly_consistent", "test"}, "hello")
{:error, "`undefined` is not a supported type"}
Metadata
Metadata
Assignees
Labels
No labels