On Wed, Oct 26, 2011 at 9:00 AM, <riak-users-requ...@lists.basho.com> wrote:

> From: Kresten Krab Thorup <k...@trifork.com>
>
> Perhaps as follow-up FAQ-style questions, you could also answer these
> questions:
>
> 1. What is the typical execution profile of 2i vs solr queries?  Do all
> queries go to all nodes in the cluster, or does it depend on the query?  I
> imagine that range-queries need to go to all vnodes, whereas simple
> "prop=value" queries may be more directly to a node holding the given index.
>
> 2. What is the reliability N,R,W / replication / failover properties of
> these indexes?  How do the two different index types reconcile after a
> netsplit / crash?
>

That is a good question.  My understanding is that Riak Search essentially
operates with R=1, N=3, and W=0 by default.  But since Riak does not
automatically replicate data if you loose a node, in that situation, even if
you bring a new node into the cluster to replace a lost one, it would imply
that in a three node cluster, 1/3 of times a query may find no answers, if
the query is routed to the new nodes added to the cluster that should have
but does not have one replica.

Is that correct?

If so, it would seem the default W=3 gives a false sense of security.  Yes,
you got replicas of the data, but by default there is on guarantee you'll
use one of them after loosing a node and replacing it.

Is there a way to set the R value for search?
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to