Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Jeremiah Peschka
Good to know that bolth options are available. :) We don't do any version detection in CorrugatedIron and instead rely on the developer to be relatively sane (just like you shouldn't try to send SQL Server 2012 commands to SQL Server 2000 over an ODBC connection). Our plan is to provide both the 1

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Russell Brown
On 22 Oct 2013, at 20:24, Jeremiah Peschka wrote: > Hah! No worries at all. Thanks for the clarification. I'll rebuild. > > I wasn't sure if I needed to try to figure out (from a client perspective) if > I needed to use the CRDT syntax for 2.0 and newer and RpbCounterUpdateReq for > 1.4.x and

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Jeremiah Peschka
gt; >> Sent from my Verizon Wireless 4G LTE Smartphone >> >> >> >> Original message >> From: Russell Brown >> Date: 10/22/2013 3:07 PM (GMT-05:00) >> To: Jeremiah Peschka >> Cc: riak-users >> Subject: Re: Updating Counters on R

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Jared Morrow
schka > Cc: riak-users > 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 t

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Jeremiah Peschka
Hah! No worries at all. Thanks for the clarification. I'll rebuild. I wasn't sure if I needed to try to figure out (from a client perspective) if I needed to use the CRDT syntax for 2.0 and newer and RpbCounterUpdateReq for 1.4.x and earlier. Good to know that I can blindly proceed. --- Jeremiah

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread darren
Don't you guys do regression testing? Sent from my Verizon Wireless 4G LTE Smartphone Original message From: Russell Brown Date: 10/22/2013 3:07 PM (GMT-05:00) To: Jeremiah Peschka Cc: riak-users Subject: Re: Updating Counters on Riak 2.0 pre whatever Yes!

Re: Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Russell Brown
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 compa

Updating Counters on Riak 2.0 pre whatever

2013-10-22 Thread Jeremiah Peschka
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,suppor