lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham P (JIRA)" <>
Subject [jira] Commented: (SOLR-821) replication must allow copying conf file in a different name to slave
Date Tue, 06 Jul 2010 13:43:51 GMT


Graham P commented on SOLR-821:

We don't have that problem, because we use, containing:


(or visa versa on the slaves)

Then the same solrconfig can be used on both (where solr.master is defined in solr.xml above
the cores:

  <requestHandler name="/replication" class="solr.ReplicationHandler" >
      <lst name="master">
        <str name="enable">${enable.master:false}</str> 
        <str name="replicateAfter">commit</str>
        <str name="replicateAfter">startup</str>
      <lst name="slave">
        <str name="enable">${enable.slave:false}</str> 
        <str name="masterUrl">${solr.master}/${}/replication</str>
        <str name="pollInterval">00:00:60</str>

> replication must allow copying conf file in a different name to slave
> ---------------------------------------------------------------------
>                 Key: SOLR-821
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>         Attachments: SOLR-821.patch, SOLR-821.patch, SOLR-821.patch, SOLR-821.patch,
> It is likely that a file is different in master and slave. for instance replicating solrconfig.xml
is not possible with the current config if master and slave has diffferent solrconfig.xml
(which is always true)
> We can add an alias feature in the confFiles as
> {code}
> <str name="confFiles">slave_solrconfig.xml:solrconfig.xml,slave_schema.xml:schema.xml</str>
> {code}
> This means that the file slave_solrconfig.xml should be copied to the slave as solrconfig.xml
and slave_schema.xml must be saved to slave as schema.xml

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message