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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to