You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "alexey (JIRA)" <ji...@apache.org> on 2014/02/04 22:32:10 UTC

[jira] [Commented] (SOLR-5589) Disabled replication in config is ignored

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

alexey commented on SOLR-5589:
------------------------------

I've attached new patch which illustrates and tests my initial concern. I've introduced new config param "replicationEnabled" to control enable\disable replication on master similar to enable\disable command.

> Disabled replication in config is ignored
> -----------------------------------------
>
>                 Key: SOLR-5589
>                 URL: https://issues.apache.org/jira/browse/SOLR-5589
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 4.5
>            Reporter: alexey
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.7
>
>         Attachments: SOLR-5589.patch, SOLR-5589.patch, SOLR-5589.patch, SOLR-5589.patch, SOLR-5589.patch
>
>
> When replication on master node is explicitly disabled in config, it is still enabled after start. This is because when both master and slave configurations are written with enabled=false, replication handler considers this node is a master and enables it. With proposed patch handler will consider this as master node but will disable replication on startup if it is disabled in config (equivalent to disablereplication command).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org