Java Riak client can't handle a Riak node failure?

2015-10-07 Thread Vanessa Williams
ng the clients at it, but it didn't help. Riak is a high-availability key-value store, so... why are we failing to achieve high-availability? Any suggestions greatly appreciated, and if more info is required I'll do my best to provide it. Thanks in advance, Vanessa --

Re: Java Riak client can't handle a Riak node failure?

2015-10-07 Thread Vanessa Williams
a load-balancer > and pointing the clients at it, but it didn't help." -- what do you mean > exactly, by "it didn't help"? What happened when you tried using the load > balancer? > > > > On Wed, Oct 7, 2015 at 1:57 PM, Vanessa Williams < > vanessa.wi

Re: Java Riak client can't handle a Riak node failure?

2015-10-07 Thread Vanessa Williams
7;s > not supposed to stop working completely. (I'm not sure why it's failing for > you, we can investigate, but it'll be easier to just use a load balancer). > It should throw an error or two, but then start working again (on the > retry). > > Dmitri > > On W

Re: Java Riak client can't handle a Riak node failure?

2015-10-07 Thread Vanessa Williams
do want to encourage you to bump your R setting to at least 2, though. > Run some tests -- I think you'll find that the difference in speed will not > be noticeable, but you do get a lot more data resilience with 2.) > > On Wed, Oct 7, 2015 at 6:24 PM, Vanessa Williams < >

Re: Java Riak client can't handle a Riak node failure?

2015-10-13 Thread Vanessa Williams
with less than 5 nodes: > > 1,2 nodes: n_val 1 > 3,4 nodes: n_val 2 > 5+ nodes: n_val 3 > > In summary, please consider reconfiguring your production deployment. > > Sincerely, > Alexander > > @siculars > http://siculars.posthaven.com > > Sent from my iRota

Re: Java Riak client can't handle a Riak node failure?

2015-10-13 Thread Vanessa Williams
help with the gory details. I'll be upgrading from Riak 1.4.10 to Riak 2.1.2 (or whatever the latest is) shortly and I'll take all of these points into consideration at that time. Best regards, Vanessa Vanessa Williams ThoughtWire Corporation http://www.thoughtwire.com On Thu, Oct 8,

Re: Java Riak client can't handle a Riak node failure?

2016-02-22 Thread Vanessa Williams
hich means, read-before-you-write -- in > fact, the Update operation in the java client does this for you, I think). > And if Riak can't determine which version is correct, it will fall back on > timestamps. > > 3) Turn on siblings, for that bucket or bucket type. That way, Ri

Re: Java Riak client can't handle a Riak node failure?

2016-02-22 Thread Vanessa Williams
share the link! :) > Will do! Regards, Vanessa > > Thanks, > Alex > > > On Mon, Feb 22, 2016 at 6:23 AM, Vanessa Williams < > vanessa.willi...@thoughtwire.ca> wrote: > >> Hi Dmitri, this thread is old, but I read this part of your answer >> carefully: &g

Re: Java Riak client can't handle a Riak node failure?

2016-02-22 Thread Vanessa Williams
deleteFuture.await(); > > if(deleteFuture.isSuccess()) > { > return true; > } > else > { > deleteFuture.cause(); // Cause of failure > return false; > } > } > > > Thanks, > Alex > > On Mon, Feb 22, 2016 at

Re: Java Riak client can't handle a Riak node failure?

2016-02-22 Thread Vanessa Williams
xample I posted. You can use the > code you had as-is. > > Thanks, > Alex > > On Mon, Feb 22, 2016 at 1:23 PM, Vanessa Williams < > vanessa.willi...@thoughtwire.ca> wrote: > >> Hi Alex, would a second fetch just indicate that the object is *still* >> d

Re: Java Riak client can't handle a Riak node failure?

2016-02-23 Thread Vanessa Williams
Ok, here's a link: http://www.fridgebuzz.com/2016/02/23/simple-key-value-java-client-for-riak/ There's a link to a Gist in there with the full source. Hope it helps someone. On Mon, Feb 22, 2016 at 4:21 PM, Vanessa Williams < vanessa.willi...@thoughtwire.ca> wrote: > Thank