Skip to content

Instantly share code, notes, and snippets.

@jworl
Created January 8, 2018 01:54
Show Gist options
  • Save jworl/d9d904b5060a77cd48684cb68aed09cb to your computer and use it in GitHub Desktop.
Save jworl/d9d904b5060a77cd48684cb68aed09cb to your computer and use it in GitHub Desktop.
global settings for cluster rebalance
curl -XGET 'localhost:9200/_cluster/settings?pretty'
{
"persistent" : {
"cluster" : {
"routing" : {
"allocation" : {
"enable" : "all"
}
}
}
},
"transient" : {
"cluster" : {
"routing" : {
"allocation" : {
"cluster_concurrent_rebalance" : "8",
"node_concurrent_recoveries" : "8",
"enable" : "all"
}
}
},
"indices" : {
"recovery" : {
"max_bytes_per_sec" : "1000mb"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment