RE: SolrCloud leader to replica

2013-04-12 Thread Zhang, Lisheng
enormously valuable to us and we really appreciate your helps! Lisheng -Original Message- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Thursday, April 11, 2013 5:27 PM To: solr-user@lucene.apache.org Subject: Re: SolrCloud leader to replica Hi, I think Timothy is right

Re: SolrCloud leader to replica

2013-04-11 Thread Otis Gospodnetic
4 a little (I have not read solr4x fully yet) to >> compromise >> consistency (C) in order to increase availability (A), on a high level do >> you see >> serious problems in this approach (I am familiar with lucene/solr code to >> some >> extent)? >> >>

Re: SolrCloud leader to replica

2013-04-11 Thread Timothy Potter
gt; you see > serious problems in this approach (I am familiar with lucene/solr code to > some > extent)? > > Thanks and best regards, Lisheng > > -Original Message- > From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] > Sent: Thursday, April 11, 2013 2:50 PM >

Re: SolrCloud leader to replica

2013-04-11 Thread Shawn Heisey
On 4/11/2013 3:50 PM, Otis Gospodnetic wrote: But note that I misspoke, which I realized after re-reading the thread I pointed you to. Mark explains it nicely there: * the index call returns only when (and IF!) indexing to all replicas succeeds Does this actually mean "all active replicas" ...

RE: SolrCloud leader to replica

2013-04-11 Thread Zhang, Lisheng
@lucene.apache.org Subject: Re: SolrCloud leader to replica But note that I misspoke, which I realized after re-reading the thread I pointed you to. Mark explains it nicely there: * the index call returns only when (and IF!) indexing to all replicas succeeds BUT, that should not be mixed with what search

Re: SolrCloud leader to replica

2013-04-11 Thread Otis Gospodnetic
ssage- > From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] > Sent: Thursday, April 11, 2013 1:23 PM > To: solr-user@lucene.apache.org > Subject: Re: SolrCloud leader to replica > > > Yes, I *think* that is the case. Some distributed systems have the > option to re

RE: SolrCloud leader to replica

2013-04-11 Thread Zhang, Lisheng
Thanks very much for your helps! -Original Message- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Thursday, April 11, 2013 1:23 PM To: solr-user@lucene.apache.org Subject: Re: SolrCloud leader to replica Yes, I *think* that is the case. Some distributed systems have

Re: SolrCloud leader to replica

2013-04-11 Thread Otis Gospodnetic
m: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] > Sent: Thursday, April 11, 2013 8:11 AM > To: solr-user@lucene.apache.org > Subject: Re: SolrCloud leader to replica > > > I believe it indexes locally on leader first. Otherwise one could end > up with a situation wh

RE: SolrCloud leader to replica

2013-04-11 Thread Zhang, Lisheng
afer leader finishes his? Thanks and best regards, Lisheng -Original Message- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Thursday, April 11, 2013 8:11 AM To: solr-user@lucene.apache.org Subject: Re: SolrCloud leader to replica I believe it indexes locally on leader

Re: SolrCloud leader to replica

2013-04-11 Thread Otis Gospodnetic
I believe it indexes locally on leader first. Otherwise one could end up with a situation where indexing to replica(s) succeeds and indexing to leader fails, which I suspect might create a mess. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Thu, Apr 11, 2013 at 2:53 AM, Zhang,

SolrCloud leader to replica

2013-04-10 Thread Zhang, Lisheng
Hi, In solr 4x solrCloud, suppose we have only one shard and two replica, when leader receives the indexing request, does it immediately forward request to two replicas or it first indexes request itself, then sends request to its two replica? Thanks very much for helps, Lisheng