Updating Counters on Riak 2.0 pre whatever

Jeremiah Peschka jeremiah.peschka at gmail.com
Tue Oct 22 14:56:27 EDT 2013


I'm attempting to create a counter on Riak 2.0 built from the develop on
Sunday. When I send a counter increment message using RpbCounterUpdateReq,
I get the following back from Riak:

Riak returned an error. Code '0'. Message: Error processing incoming
message: error:undef:[{riak_kv_counter,supported,
                                                 [],[]},
                                                {riak_kv_pb_counter,process,
                                                 2,
                                                 [{file,

 "src/riak_kv_pb_counter.erl"},
                                                  {line,114}]},
                                                {riak_api_pb_server,
                                                 process_message,4,
                                                 [{file,

 "src/riak_api_pb_server.erl"},
                                                  {line,386}]},
                                                {riak_api_pb_server,
                                                 connected,2,
                                                 [{file,

 "src/riak_api_pb_server.erl"},
                                                  {line,228}]},
                                                {riak_api_pb_server,
                                                 decode_buffer,2,
                                                 [{file,

 "src/riak_api_pb_server.erl"},
                                                  {line,362}]},
                                                {gen_fsm,handle_msg,7,
                                                 [{file,"gen_fsm.erl"},
                                                  {line,505}]},
                                                {proc_lib,init_p_do_apply,3,
                                                 [{file,"proc_lib.erl"},
                                                  {line,239}]}]
---
Jeremiah Peschka - Founder, Brent Ozar Unlimited
MCITP: SQL Server 2008, MVP
Cloudera Certified Developer for Apache Hadoop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131022/c0e312ca/attachment.html>


More information about the riak-users mailing list