So I have basic master/slave replication set up with Solr 4.1. After startup, however, nothing happens.
<requestHandler name="/replication" class="solr.ReplicationHandler"> <lst name="master"> <str name="enable">${enable.master:false}</str> <str name="replicateAfter">startup</str> <str name="replicateAfter">commit</str> <str name="commitReserveDuration">00:00:10</str> </lst> <lst name="slave"> <str name="enable">${enable.slave:false}</str> <str name="masterUrl">http://localhost:19081/solr/${solr.core.name}</str> <str name="pollInterval">00:00:20</str> </lst> </requestHandler> 2014-04-23 00:41:40,026 [snapPuller-13-thread-1] INFO org.apache.solr.handler.SnapPuller - Master's generation: 2856 2014-04-23 00:41:40,026 [snapPuller-13-thread-1] INFO org.apache.solr.handler.SnapPuller - Slave's generation: 1 2014-04-23 00:41:40,026 [snapPuller-13-thread-1] INFO org.apache.solr.handler.SnapPuller - Starting replication process 2014-04-23 00:42:00,031 [snapPuller-13-thread-1] ERROR org.apache.solr.handler.SnapPuller - No files to download for index generation: 2856 On the slave end, the replication.properties indicates failures: timesFailed=482 After I commit everything works fine. So why doesn't "startup" work? I debugged into the code and found that ReplicationHandler#getFileList() gets a commit from the deletion policy for a particular generation. In this case, the deletion policy is returning nothing (null). Should I be using a specific deletion policy for this to work? Thanks much -- View this message in context: http://lucene.472066.n3.nabble.com/Replication-after-startup-is-not-working-tp4132604.html Sent from the Solr - User mailing list archive at Nabble.com.