Slide 10
Slide 10 text
Copyright Elasticsearch 2013. Copying, publishing and/or distributing without written permission is strictly prohibited
Example settings...
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.balance.index" : 0.0,
"cluster.routing.allocation.balance.shard" : 1.0,
"cluster.routing.allocation.balance.primary" : 0.0,
}
}'
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.balance.index" : 0.55,
"cluster.routing.allocation.balance.shard" : 0.4,
"cluster.routing.allocation.balance.primary" : 0.05,
}
}'
Defaults:
Acts like EvenShardCountsAllocator: