Re: Two questions about pre/post update hooks

2011-07-11 Thread Ryan Zezeski
Jeffery, I'm going to assume by "update" you mean a read, modify, put cycle. I'm afraid what you're talking about doing is not directly supported by Riak. If you have multiple clients writing this object concurrently then there is no way for Riak to guarantee that a conflict hasn't occurred. Th

Two questions about pre/post update hooks

2011-07-08 Thread Jeffrey Kesselman
(1) AIUI a given key/value data pair is "owned" by a given node at one time and operations on it happen on that node and are then replicated out. Is this correct? (2) Is the key/value pair "locked" between pre update and post update? The motivation for this question is this. I need to do the fo