Why do you want to know? General issues or are you having
a specific problem?

But here's the flow as I understand it.

Let's say a leader receives a doc
  - if the doc is for this shard, forward the doc to all replicas and
collect the results before responding
 - if the doc is for a different shard, forward the request to the leader
of that shard, wait for results before responding

Let's say a replica receives a doc
  - forward to the leader for the correct shard, wait for response before
responding to client. Leader does as above.

Hope that helps,
Erick



On Wed, Feb 27, 2013 at 3:03 AM, rulinma <ruli...@gmail.com> wrote:

> numshards=2
> for example ids(1,4) will go to same shards
> I have shard1(ip1,ip2,ip3) shard2(ip4,ip5,ip6) that each shard has 3 nodes,
> and ip1 as the lead of shard1.
>
> If i insert ids(1,4), I think basic step is:
>
> 1 search lead, and insert ids(1,4) to the lead locally
> 2 at the lead node, search follow and send addDocs request to (ip2,ip3)
> 3 ip2 and ip3 receive reqeust from the ip1 and insert ids(1,4) async
> 4 lead collect response and return
>
> I don't know it is correct? If not, give me some suggestions.
>
> Thanks.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solrCloud-insert-data-steps-tp4043315.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to