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:
Now when I want to enable it again the API call would look like this:
This uses the CLUSTERPROP semantics of unsetting a property when the val param is not provided.