Re: understanding optimistic concurrency in Riak

2013-10-06 Thread Jeremiah Peschka
Inline: --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for Apache Hadoop On Thu, Oct 3, 2013 at 9:19 PM, Alex Rice wrote: > Just trying to paraphrase how I understand it from the Riak docs, plus > helpful feedback from Jeremiah :)

understanding optimistic concurrency in Riak

2013-10-03 Thread Alex Rice
Just trying to paraphrase how I understand it from the Riak docs, plus helpful feedback from Jeremiah :) Please correct if I'm not really groking it! with allow_multi = false, the default setting - To achieve CAS* -ish behavior for updates, you can always send the vector clock with a Put. If it f

Re: Optimistic concurrency in Riak

2012-03-21 Thread Jeremiah Peschka
You can still get siblings/conflicts even with if_not_modified/If-None-Match because two conflict writes can arrive at the exact same time. It's probably a pretty rare event, but it's worth being aware of because if could cause unexpected things to happen in your application if you aren't aware

Optimistic concurrency in Riak

2012-03-21 Thread Ransom Richardson
Does riak support optimistic concurrency? This KB article seems to indicate not: https://help.basho.com/entries/321522-can-riak-be-configured-to-fail-an-update-instead-of-generating-a-conflict But if it doesn't, what is the meaning of the if_not_modified field in the PBC Store Object: http://wi