Cluster decommission
For more information about allocation awareness, see Shard allocation awareness.
You can use the following example requests to decommission and recommission a zone:
PUT /_cluster/decommission/awareness/<zone>/<zone-a>
copy
If you want to recommission a decommissioned zone, you can use the DELETE
method:
{
}
The following example requests returns the decommission status of all zones.
copy
{
"zone-1": "INIT | DRAINING | IN_PROGRESS | SUCCESSFUL | FAILED"
- For more information about zone awareness and weight, see Cluster awareness.