Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12566

Add option to disable replication at startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 7.4
    • None
    • replication (java)
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elyograg Shawn Heisey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: