Optimized indexes are not replicated on repeaters with only replicateAfter=optimize
-----------------------------------------------------------------------------------
Key: SOLR-1542
URL:
https://issues.apache.org/jira/browse/SOLR-1542 Project: Solr
Issue Type: Bug
Components: replication (java)
Reporter: Shalin Shekhar Mangar
Fix For: 1.5
If a repeater's ReplicationHandler's configuration has replicateAfter=optimize (but not replicateAfter=commit) then replication never happens because ReplicationHandler uses postOptimize callbacks to choose the replicateable commit point. However, a repeater being a slave, only commits are called.
ReplicationHandler should register with both postCommit and postOptimize events and then choose the replicateable commit point.
For the time being, the workaround is to specify replicateAfter=commit on repeaters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.