lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis.gospodne...@gmail.com>
Subject Re: Two questions about solrcloud
Date Wed, 07 Nov 2012 18:31:12 GMT
Hi

On Wed, Nov 7, 2012 at 7:49 AM, Tomás Fernández Löbbe <tomasflobbe@gmail.com
> wrote:

> > 1.If I have a solrcloud cluster with two shards and 0 replica on two
> > different server.
> >  when one of server restarts will the solr instance on that server replay
> >  the transaction log to make sure these operations persistent to the
> index
> > files(commit the transaction log)?
> >
>
> Yes, the Solr instance that was restarted will try to replay it's own
> transaction log.


Tomás,

But how long is data in that xa log kept?  That is, if a server that holds
the only instance of some shard is up for say a week, and then you restart
it (server, not Solr), upon startup it will not find the whole week's worth
of data in the xa log, will it?

Thanks,
Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html




> >
> > 2.Assuming I have 3 shards cluster with 4 different server,
> > it will form a cluster with 3 shard and 1 replica. Can I remove one
> server
> > to reduce
> > (degrade)the number of servers? if so does I just need to shutdown the
> > server and manually remove it's node from ZK?
> >
>
> You can just remove the server, however, make sure you remove one of the
> servers where you have a replica (one of the two nodes of shard 1 lets
> say), because if you shutdown one of the servers holding the shards with no
> extra replicas, the existing nodes will not "rebalance", you'll end up with
> a shard with no nodes (and one shard will continue to have two nodes),
> which will not allow you to search or index.
>
> Tomás
>
>
> > Regards
> >
> > SuoNayi
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message