Re: riak_core question when a node dies

2012-03-28 Thread Samuel Elliott
How idempotent are the requests? You could do all three in parallel, and then use the results of the one that returns first (and hence doesn't blow up). Sam On Wed, Mar 28, 2012 at 7:09 PM, Jon Brisbin wrote: > I'm using get_primary_apl to get my preflist but the problem is how to > handle a fai

Bugzilla -> Github Issues for Riak client libraries

2012-03-28 Thread Sean Cribbs
Hey riak-users, In an ongoing effort to get our client-libraries in order, I've moved a whole slew of existing bug reports and issues from our Bugzilla over to Github issues. If you were already CC'ed on a Bugzilla ticket, you should have received notification that this occurred. Here's a list of

Re: [ANN] Riak CS

2012-03-28 Thread Mikhail Sobolev
Hi Mark, On Wed, Mar 28, 2012 at 10:20:30AM -0700, Mark Phillips wrote: > On Wed, Mar 28, 2012 at 8:36 AM, Mikhail Sobolev wrote: > > On Tue, Mar 27, 2012 at 05:54:54PM -0700, Mark Phillips wrote: > > > I just wanted to take a second and share some details on a new Riak-based > > > product that B

Re: Guaranteeing N physical copies

2012-03-28 Thread Mark Phillips
On Thu, Mar 1, 2012 at 11:22 AM, Reverend Chip wrote: > The docs state re replication that "There are no guarantees that the > three replicas will go to three separate physical nodes." What > configuration *does* provide such a guarantee? Is there some number of > physical nodes > N where havin

riak java pb client does not let go of bad sockets

2012-03-28 Thread Will Gage
Hello, I have run into a production issue that I think stems from either a defect in the com.basho.riak:riak-client:jar:1.0.4 library, or a misunderstanding in my use of it. I'm actively trying to fix the issue, but I thought I'd put a feeler out to this list to see if others have encountered

Re: [ANN] Riak CS

2012-03-28 Thread Mark Phillips
Hi Misha On Wed, Mar 28, 2012 at 8:36 AM, Mikhail Sobolev wrote: > Hi Mark, > > On Tue, Mar 27, 2012 at 05:54:54PM -0700, Mark Phillips wrote: > > I just wanted to take a second and share some details on a new Riak-based > > product that Basho announced today. > > > > [snip] > > > > * Large Obje

Re: riak_core question when a node dies

2012-03-28 Thread Jon Brisbin
I'm using get_primary_apl to get my preflist but the problem is how to handle a failure of trying to dispatch to a node that is just now going down and hasn't had time to notify the caller yet. I don't want to loose the web request currently in progress. Maybe I need to get a list of indexes to

Re: riak_core question when a node dies

2012-03-28 Thread Sean Cribbs
Jon, Generally I would use the riak_core_apl module to calculate the preflist for your request. It takes into account node visibility and service availability. Use riak_core_node_watcher:service_up to announce that your app is available after registering with riak_core. When doing some "split bra

riak_core question when a node dies

2012-03-28 Thread Jon Brisbin
I'm testing the example code that dispatches a web request from misultin into a riak_core ring of vnodes. It works fantastic when all nodes are up! :) Doing "ab -k -c 200 -n 1 http://localhost:3000/"; yields a none-to-shabby performance (dispatching at random into all available vnodes on tw

Re: [ANN] Riak CS

2012-03-28 Thread Zabrane Mickael
On Mar 28, 2012, at 5:36 PM, Mikhail Sobolev wrote: > Hi Mark, > > On Tue, Mar 27, 2012 at 05:54:54PM -0700, Mark Phillips wrote: >> I just wanted to take a second and share some details on a new Riak-based >> product that Basho announced today. >> >> [snip] >> >> * Large Object Support > Does

Re: [ANN] Riak CS

2012-03-28 Thread Mikhail Sobolev
Hi Mark, On Tue, Mar 27, 2012 at 05:54:54PM -0700, Mark Phillips wrote: > I just wanted to take a second and share some details on a new Riak-based > product that Basho announced today. > > [snip] > > * Large Object Support Does it mean the the retired Luwak was replaced with something that is no

Riak Recap for March 23 - 27

2012-03-28 Thread Mark Phillips
Morning, Afternoon, Evening to All - Great Recap for the last few days: new code, parties, blogs, and more. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com/Riak.html twitter.com/pharkmillups Riak Recap for March 23 - 27 =

Re: PUT aborted by pre-commit hook

2012-03-28 Thread Sean Cribbs
Sebastian, Replies inline: > Hello, > I am just starting out with Riak and want to use Pre-Commit Hooks to > automatically add links to keys in a different bucket. To give a > simple example, when I add '/bucket2/object2' I want to add a link to > the object in '/bucket1/object1' that points to

Re: [ANN] Riak CS

2012-03-28 Thread Andrey V. Martyanov
Hi Mark, Thank you for sharing the information! AWS S3 is awesome, but it has one major disadvantage - it's not possible to set custom headers. There is a big thread on their forum [1], but despite of many complaints they haven't fixed it. It's not possible to control CORS and the only working sol

Bug for reduce-only request

2012-03-28 Thread Jonathan Langevin
In the latest release of Riak, I just ran into a bug that has existed for a year now. If you issue an m/r request against a bucket in Riak, and your m/r request only contains a reduce phase, with no map phase, Riak will return an error response saying "bad_json". This bug was reported a year ago: