Senthuran Sivananthan created SOLR-4350: -------------------------------------------
Summary: Deleting the data directory on master and reindexing causes slaves to out of sync Key: SOLR-4350 URL: https://issues.apache.org/jira/browse/SOLR-4350 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.1 Environment: Windows Reporter: Senthuran Sivananthan Priority: Minor This issue occurs only when the data directory is deleted manually on the master instance. Here are the steps that I used to replicate the issue: Master - Shutdown Master - Delete Data Directory Slave - Replication triggers, but no connection to master, replicaiton fails Master - Start Up Master - Index all docs Master - Shutdown Master - Start Up Expected: Slave - Replication triggers, connected to master, new index replications, master & slave in sync Actual: Slave - Replication triggers, connected to master, error seen in the logs: "SEVERE: No files to download for index generation: 2" * Nothing will replicate even if master generation > slave generation Workaround: * Must trigger another commit on master after the restart * Replicates even if master generation < slave generation (and gets the generations in sync) * Replicates when master generation > slave generation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org