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 "Michael Henson (JIRA)" <ji...@apache.org> on 2009/01/14 00:42:59 UTC

[jira] Issue Comment Edited: (SOLR-820) replicate After startup for new replication

    [ https://issues.apache.org/jira/browse/SOLR-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663533#action_12663533 ] 

mhenson edited comment on SOLR-820 at 1/13/09 3:41 PM:
--------------------------------------------------------------

I have not been able to get this to work in my configuration. The slave instance, starting with an empty target directory, creates segments files for itself on startup. It then has an "index version" that is a higher number than the master's index version. The replication never starts, unless I do a commit on the master.

My replication config is very straightforward. My configuration assumes that the slave machine is starting off completely empty of all data (aside from the essentials necessary to get Solr to start), and will pull everything from the master instance.

NOTE: I tested this with nightly build solr-2009-01-12.zip

      was (Author: mhenson):
    I have not been able to get this to work in my configuration. The slave instance, starting with an empty target directory, creates segments files for itself on startup. It then has an "index version" that is a higher number than the master's index version. The replication never starts, unless I do a commit on the master.

My replication config is very straightforward. My configuration assumes that the slave machine is starting off completely empty of all data (aside from the essentials necessary to get Solr to start), and will pull everything from the master instance.

  
> replicate After startup for new replication
> -------------------------------------------
>
>                 Key: SOLR-820
>                 URL: https://issues.apache.org/jira/browse/SOLR-820
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (scripts)
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-820.patch
>
>
> add another option of 
> {code}
>  <str name="replicateAfter">startup</str>
> {code}
> so that replication can be triggered w/o a commit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.