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

Have an option to disable autoAddReplicas temporarily for all collections

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None

    Description

      When doing offline maintenance on my cluster I would like to disable autoAddReplicas since I don't want replicas being created on nodes during this time.

      It would be useful to have an option to enable/disable autoAddReplicas via an API.

      This API would disable autoAddReplicas:

      admin/collections?action=CLUSTERPROP&name=autoAddReplicas&val=false
      

      Now when I want to enable it again the API call would look like this:

      admin/collections?action=CLUSTERPROP&name=autoAddReplicas
      

      This uses the CLUSTERPROP semantics of unsetting a property when the val param is not provided.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sarowe Steven Rowe
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment