Open fire opened 7 years ago
Weird, but
iex(7)> :riakc_pb_socket.get(pid, {"strongly_consistent", "test"}, "hello")
{:ok,
{:riakc_obj, {"strongly_consistent", "test"}, "hello",
<<107, 206, 97, 96, 96, 96, 204, 96, 74, 97, 96, 73, 45, 78, 45, 204, 96,
202, 99, 101, 112, 0, 9, 1, 105, 198, 179, 249, 151, 248, 178, 0>>,
[{{:dict, 3, 16, 16, 8, 80, 48,
{[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []},
{{[], [], [], [], [], [], [], [], [], [],
[["content-type", 116, 101, 120, 116, 47, 112, 108, 97, 105, 110],
["X-Riak-VTag", 51, 66, 120, 87, 50, 84, 53, 68, 117, 97, 117, 71,
72, 85, 89, 101, 80, 55, 65, 109, 109, 118]], [], [],
[["X-Riak-Last-Modified" | {1492, 865281, 773593}]], [], []}}},
"world"}], :undefined, :undefined}}
works.
How do you use riak with strongly consistent buckets? Errors with
{:error, "`undefined` is not a supported type"}