Replicas
editReplicas
editaction: replicas description: >- Set the number of replicas per shard for selected indices to 'count' options: count: ... filters: - filtertype: ...
Empty values and commented lines will result in the default value, if any, being selected. If a setting is set, but not used by a given action, it will be ignored.
This action will set the number of replicas per shard to the value of count.
You can optionally set wait_for_completion
to True
to have Curator wait for
the replication operation to complete before continuing:
action: replicas description: >- Set the number of replicas per shard for selected indices to 'count' options: count: ... wait_for_completion: True max_wait: 600 wait_interval: 10 filters: - filtertype: ...
This configuration will wait for a maximum of 600 seconds for all index replicas
to be complete before giving up. A max_wait
value of -1
will wait
indefinitely. Curator will poll for completion at 10
second intervals, as
defined by wait_interval
.