When I bought down one node for a config update and relaunched it, the Primary shards are assigned only to the node with was online during update.
Should I make the secondary node shards as primary? If so how do I do it?
Tried:
/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.enable" : "primaries"
}
}'
and
/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}'
ES version: 2.4 (Contianerized ES)