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
Attachments
Issue Links
- is blocked by
-
SOLR-6883 CLUSTERPROP API switch case does not call break
- Closed