You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2018/07/19 18:31:00 UTC

[jira] [Created] (SOLR-12566) Add option to disable replication at startup

Shawn Heisey created SOLR-12566:
-----------------------------------

             Summary: Add option to disable replication at startup
                 Key: SOLR-12566
                 URL: https://issues.apache.org/jira/browse/SOLR-12566
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: replication (java)
    Affects Versions: 7.4
            Reporter: Shawn Heisey


An option to disable replication at startup could be useful.  The API currently has enablereplication, disablereplication, enablepoll, and disablepoll commands, but these capabilities are always enabled at startup.

If somebody wants these capabilities to be disabled when Solr starts, so they can be enabled later through the API, that is currently not possible.

Proposal: Add a "disableAtStartup" option to both master and slave config sections, defaulting to false.  If set to true in the master section, it would be the same as if "disablereplication" had been called.  If set to true in the slave section, it would be the same as if "disablepoll" had been called.

The most common usage would probably be to add the new parameter to slave sections, and then use enabepoll and/or disablepoll as desired.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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