You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/12/24 16:58:13 UTC

[jira] [Resolved] (SOLR-6879) Have an option to disable autoAddReplicas temporarily for all collections

     [ https://issues.apache.org/jira/browse/SOLR-6879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe resolved SOLR-6879.
------------------------------
       Resolution: Fixed
    Fix Version/s: Trunk
                   5.0
         Assignee: Steve Rowe

Committed to trunk and branch_5x.

Thanks Varun!

> Have an option to disable autoAddReplicas temporarily for all collections
> -------------------------------------------------------------------------
>
>                 Key: SOLR-6879
>                 URL: https://issues.apache.org/jira/browse/SOLR-6879
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Assignee: Steve Rowe
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6879.patch, SOLR-6879.patch
>
>
> 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:
> {code}
> admin/collections?action=CLUSTERPROP&name=autoAddReplicas&val=false
> {code}
> Now when I want to enable it again the API call would look like this:
> {code}
> admin/collections?action=CLUSTERPROP&name=autoAddReplicas
> {code}
> This uses the CLUSTERPROP semantics of unsetting a property when the {{val}} param is not provided.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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