I've done a bit of reading - found some other posts with similar questions. So I gather "Optimizing" a collection is rarely a good idea. It does not need to be condensed to a single segment. I also read that it's up to the client to keep track of updates in case commits don't happen on all the replicas. Solr will commit and return success as long as one replica gets the update.
I have a state where the two replicas for one collection are out of sync. One has some updates that the other does not. And I don't have log data to tell me what the differences are. This happened during a maintenance window when the servers got restarted while a large index job was running. Normally this doesn't cause a problem, but it did last Thursday. What I plan to do is select the replica I believe is incomplete and delete it. Then add a new one. I was just hoping Solr had a solution for this - maybe using the ZK transaction logs to replay some updates, or force a resync between the replicas. I will also implement a fix to prevent Solr from restarting unless one of its config files has changed. No need to bounce Solr just for kicks. -- View this message in context: http://lucene.472066.n3.nabble.com/Replicas-for-same-shard-not-in-sync-tp4272236p4272602.html Sent from the Solr - User mailing list archive at Nabble.com.