lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geepalem <>
Subject Slave replicating partially before write operation completes on master
Date Sat, 22 Apr 2017 18:57:27 GMT
Hi Team,

We have below critical issue in our project. Please suggest how to fix this

Whenever indexing happening on master, slave replicating documents
partially. Due to this, search results on website are showing wrongly.

During indexing on master, I have observed below versions on master and

Master (searching) version - 1
Master (Replicable) version -  2

Master (searching) version - 1
Master (Replicable) version -  2
Slave (Searching) version - 2

Once indexing gets completed, versions on both master and slave are same as
3 and also data replicated completely to slave.

Below is replication cong used in  master and slave 

  <requestHandler name="/replication" class="solr.ReplicationHandler" >
    <lst name="master">
      <str name="replicateAfter">commit</str>
      <str name="replicateAfter">optimize</str>
      <str name="backupAfter">commit</str>      
      <str name="confFiles">schema.xml</str>
      <str name="commitReserveDuration">00:00:10</str>
    <int name="maxNumberOfBackups">2</int>
    <lst name="invariants">
      <str name="maxWriteMBPerSec">16</str>

 <requestHandler name="/replication" class="solr.ReplicationHandler" >
    <lst name="slave">
      <str name="pollInterval">00:00:20</str>

Can any one please advice how to solve this issue as this is creating
escalations on project.

NOTE: As of now, I am disabling replication on slave before indexing to
avoid this issue.

Thanks  in advance!

G. Naresh Kumar

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message