You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/11/04 10:51:32 UTC

[jira] Created: (SOLR-1542) Optimized indexes are not replicated on repeaters with only replicateAfter=optimize

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.