Updating Counters on Riak 2.0 pre whatever

darren darren at ontrenet.com
Tue Oct 22 15:21:47 EDT 2013


Don't you guys do regression testing?


Sent from my Verizon Wireless 4G LTE Smartphone

-------- Original message --------
From: Russell Brown <russell.brown at mac.com> 
Date: 10/22/2013  3:07 PM  (GMT-05:00) 
To: Jeremiah Peschka <jeremiah.peschka at gmail.com> 
Cc: riak-users <riak-users at lists.basho.com> 
Subject: Re: Updating Counters on Riak 2.0 pre whatever 
 
Yes! Sorry!

We broke backwards compatibility during development. We merged the patch today[1]. The develop branch works right now. It will get into the next pre (or whatever the next tag is called.)

Apologies again, it was easier for me to do the new work without thinking about backwards compatibility, then re-add old counters when the 2.0 stuff was done.

Let me know if you have any more issues going forward, please.

Cheers

Russell

[1] https://github.com/basho/riak_kv/pull/697
On 22 Oct 2013, at 19:56, Jeremiah Peschka <jeremiah.peschka at gmail.com> wrote:

> 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
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
riak-users at lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131022/9d1dabec/attachment.html>


More information about the riak-users mailing list