Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Updated] (SOLR-3176) If replicationHandler has both <master> and <slave> sections disabled (enable=false) it should disable itself

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 29, 2012, 3:53 AM

Post #1 of 2 (98 views)
Permalink
[jira] [Updated] (SOLR-3176) If replicationHandler has both <master> and <slave> sections disabled (enable=false) it should disable itself

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

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

Component/s: replication (java)
Affects Version/s: 3.5
Fix Version/s: 4.0
3.6

> 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
>
>
> 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: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Feb 29, 2012, 4:39 AM

Post #2 of 2 (77 views)
Permalink
[jira] [Updated] (SOLR-3176) If replicationHandler has both <master> and <slave> sections disabled (enable=false) it should disable itself [In reply to]

[ 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: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.