Re: Riak Cluster Behavior - Clarification

2016-05-31 Thread Vikram Lalit
Hi Alexander - thanks again for your inputs here. I believe the problem here was with the sloppy quorum coming in when I brought down 1 node. The failover node would get active and from what I understand from the documentation, since the failover did not have the key and could potentially respond f

Re: Riak Cluster Behavior - Clarification

2016-05-31 Thread Vikram Lalit
Thanks again DeadZen... I believe it was indeed related to the sloppy quorum kicking in when one node was brought down. Playing with the node configs has helped me further test out the desired state... thanks again! On Tue, May 24, 2016 at 4:27 PM, DeadZen wrote: > Not to jump to conclusions, bu

Re: Riak Cluster Behavior - Clarification

2016-05-24 Thread DeadZen
Not to jump to conclusions, but this sounds like a quorum issue. Such as your writes are not going to all three servers, but only to one or two. Handoffs would occur when nodes went down unexpectedly, it doesn't ever attempt to fetch unwritten data, it fetches data from other servers which were sti

Re: Riak Cluster Behavior - Clarification

2016-05-24 Thread Alexander Sicular
Hi Vikram, If you're using the defaults, two of copies may be on the same machine. When using the default values (ring_size=64, n_val=3) you are not guaranteed copies on distinct physical machines. Implement a back-off retry design pattern. aka, fail once, try again with r=1. Also, a read will tri

Re: Riak Cluster Behavior - Clarification

2016-05-24 Thread Vikram Lalit
It's returning no object at all for the relevant key. That too is random - every few calls it returns but then it doesn't. On May 24, 2016 4:06 PM, "Sargun Dhillon" wrote: > What do you mean it's not returning? It's returning stale data? Or > it's erroring? > > On Tue, May 24, 2016 at 7:34 AM, Vi

Re: Riak Cluster Behavior - Clarification

2016-05-24 Thread Sargun Dhillon
What do you mean it's not returning? It's returning stale data? Or it's erroring? On Tue, May 24, 2016 at 7:34 AM, Vikram Lalit wrote: > Hi - I'd appreciate if someone can opine on the below behavior of Riak that > I am observing... is that expected, or something wrong in my set-up / > understand

Riak Cluster Behavior - Clarification

2016-05-24 Thread Vikram Lalit
Hi - I'd appreciate if someone can opine on the below behavior of Riak that I am observing... is that expected, or something wrong in my set-up / understanding? To summarize, I have a 3-node Riak cluster (separate EC2 AWS instances) with a separate chat server connecting to them. When I write data