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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.