replica is synchronized or asynchronized?

2010-12-15 Thread Daniel Woo
hi guys, want to ask you guys a question, when we write a datarum to a cluster with N=3, does Riak write the 3 nodes synchronized and verify the result >= W? or just write to a single node then gossip the change to the other two nodes asynchronuously? I guess it's synchronized because i don't under

Re: Riak Recap for Dec. 13 - 14

2010-12-16 Thread Daniel Woo
Hi guys, If we have 64 partitions with 4 nodes, each of the nodes has 16 partitions like this Node1: p1 ~ p16 Node2: p17 ~ p32 Node3: p33 ~ p48 Node4: p49 ~ p64 Now if I add a new node Node 5, each node should handle 12.8 partitions, so the partitions should look like this Node1: p1 ~ p13 Node2

Re: Riak Recap for Dec. 13 - 14

2010-12-16 Thread Daniel Woo
Hi Mark, Thanks for your explanation, so in this case the partitions would be re-distributed *from* Node1: p1 ~ p16 Node2: p17 ~ p32 Node3: p33 ~ p48 Node4: p49 ~ p64 *to * Node1: p1 ~ p13 (remove 3 partitions) Node2: p17 ~ p29 (remove 3 partitions) Node3: p33 ~ p45 (remove 3 partitions) Node4:

Re: Riak Recap for Dec. 13 - 14

2010-12-16 Thread Daniel Woo
Riak will return the > associated value. > > Thanks, > Dan > > Daniel Reverri > Developer Advocate > Basho Technologies, Inc. > d...@basho.com > > > On Thu, Dec 16, 2010 at 6:01 PM, Daniel Woo wrote: > >> Hi Mark, >> >> Thanks for y

Re: Riak Recap for Dec. 13 - 14

2010-12-17 Thread Daniel Woo
nodes and how client decides which node to ask? Regards, Daniel On Fri, Dec 17, 2010 at 12:24 PM, Dan Reverri wrote: > Yes. > > Daniel Reverri > Developer Advocate > Basho Technologies, Inc. > d...@basho.com > > > On Thu, Dec 16, 2010 at 7:56 PM, Daniel Woo wrote: &g