[ 
https://issues.apache.org/jira/browse/SOLR-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-3176:
------------------------------

    Attachment: SOLR-3176.patch

First patch attempt. Logs a warning and disables replication in case both 
master and slave are enable:false in config.

I'd ideally like to unregister the replication handler from SolrCore, as if it 
had enable=false on the top level. But I cannot find a way to do it. The 
problem is that even with this patch, the handler API is active and serving 
wrong info.
                
> If replicationHandler has both <master> and <slave> sections disabled 
> (enable=false) it should disable itself
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3176
>                 URL: https://issues.apache.org/jira/browse/SOLR-3176
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 3.5
>            Reporter: Jan Høydahl
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3176.patch
>
>
> Today ReplicationHandler silently starts up, but when a slave tries to pull 
> indexversion the (wrongly configured) master answers "0" instead of not 
> answering at all which would be a better response.
> Also, it should log a warning that ReplicationHandler is enabled but has no 
> active master or slave section, and then disable the handler altogether.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to