Hi Michael

Thanks for the quick response! The line does not exist in my config. So can I assume that the default configuration is to not replicate at startup?

  <requestHandler name="/replication" class="solr.ReplicationHandler">
    <lst name="defaults">
      <str name="maxWriteMBPerSec">18.75</str>
      <str name="commitReserveDuration">05:00:00</str>
      <str name="httpConnTimeout">150000</str>
      <str name="httpReadTimeout">300000</str>
    </lst>
  </requestHandler>

Any other idea's?


On 24-11-16 11:49, Michael Aleythe, Sternwald wrote:
Hi Arkadi,

you need to remove the line "<str name="replicateAfter">startup</str>" from your 
ReplicationHandler-config in solrconfig.xml -> https://wiki.apache.org/solr/SolrReplication.

Greetings
Michael

-----Ursprüngliche Nachricht-----
Von: Arkadi Colson [mailto:ark...@smartbit.be]
Gesendet: Donnerstag, 24. November 2016 09:26
An: solr-user <solr-user@lucene.apache.org>
Betreff: Resync after restart

Hi

Almost every time when restarting a solr instance the index is replicated 
completely. Is there a way to avoid this somehow? The index currently has a 
size of about 17GB.
Some advice here would be great.

99% of the config is defaul:

<updateLog> <str name="dir">${solr.ulog.dir:}</str> <int 
name="numVersionBuckets">${solr.ulog.numVersionBuckets:65536}</int>
</updateLog> <autoCommit>
         <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
         <openSearcher>false</openSearcher>
       </autoCommit>

If you need more info, just let me know...

Thx!
Arkadi


Reply via email to