curl -X PUT "localhost:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d'
{
"persistent": {
"cluster.routing.allocation.enable": "primaries"
}
}
'
- If the node to be shutdown has primary shards, what will happen? If it has replica shards, what will happen? What will the allocation process do?