Re: Python transports

2011-09-08 Thread Brett Hoerner
I own the pull request that adds (very basic) pooling logic to the Riak client. I left Transports alone (each is a single connection) and decided to have pools be another class you pick just like transport. This allows you instantly use any pooling logic (never remove down servers, delete down serv

Re: Review request: revamped http transport

2011-09-07 Thread Brett Hoerner
Greg, can you make a Github pull request from your branch? It'd be easier to review the commits together (well, git log is easy) but more importantly comment in-line. On Wed, Sep 7, 2011 at 5:19 PM, Greg Stein wrote: > Hi all, > > I've got a rough first cut of a modified RiakHttpTransport clas

Re: Python client: three issues

2011-09-04 Thread Brett Hoerner
On Sun, Sep 4, 2011 at 7:05 PM, Greg Stein wrote: > 1. I'd like Riak to generate keys for some of my objects, and I'm > using the HTTP API. Pretty simple: do a POST, and the Location: header > will tell me the key. However, looking at the code... it doesn't > appear that object.store() actually re

Re: Riak scenarios

2011-08-04 Thread Brett Hoerner
This isn't really about scenarios in general, just the example you gave: On Thu, Aug 4, 2011 at 9:33 AM, Jonathan Langevin < jlange...@loomlearning.com> wrote: > One such scenario that I'd be interested in seeing, is a setup where you > have a Riak cluster with a specific node that is used for al

Re: setting r value on a per bucket basis

2011-08-03 Thread Brett Hoerner
Yup, see r, w, etc here: http://wiki.basho.com/HTTP-Set-Bucket-Properties.html On Wed, Aug 3, 2011 at 11:55 AM, Wilson MacGyver wrote: > Hi, > > I know you can set n value on a per bucket basis. > > and you can set r value on client side for read. > > can you set a r value on a per bucket basis

Re: Riak compile error: Module gen_server2 potentially included by two different applications: rabbit_common and riak_core

2011-07-27 Thread Brett Hoerner
On Wed, Jul 27, 2011 at 10:09 AM, Sean Cribbs wrote: > That said, just move that application (rabbit_common) aside while building > Riak and move it back after your release is built. Thanks, this worked. For what it's worth (if it comes up again), I'm using the default Debian package for Rabbit

Re: Riak compile error: Module gen_server2 potentially included by two different applications: rabbit_common and riak_core

2011-07-27 Thread Brett Hoerner
On Wed, Jul 27, 2011 at 8:31 AM, Brian Rowe wrote: > IIRC the best of the kludges was to add an exclude directive in the > reltool.config. Can anyone elaborate on this? I'm looking at the reltool docs but I'm driving blind here (Erlang newbie). Brett

Re: Riak compile error: Module gen_server2 potentially included by two different applications: rabbit_common and riak_core

2011-07-27 Thread Brett Hoerner
On Wed, Jul 27, 2011 at 2:15 AM, Alvaro Videla wrote: > Why it fails on you I don't know. Are you running both systems in the same > Erlang VM? I ... wouldn't think so? I'm running Rabbit and it's using this Erlang binary, but shouldn't this build be running a different Erlang process? I'm not ev

Riak compile error: Module gen_server2 potentially included by two different applications: rabbit_common and riak_core

2011-07-26 Thread Brett Hoerner
Ubuntu 11.04 x86_64 Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [kernel-poll:false] Fresh git master checkout, any thoughts? make rel ... [snip] ... ==> rel (generate) {"init terminating in do_boot","Module gen_server2 potentially included by two different app