Skip to content

Commit

Permalink
Set cluster.routing.allocation.enable as a string parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gloutsch committed Jun 27, 2024
1 parent 70e28e0 commit f06d159
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions es/resource_elasticsearch_cluster_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,24 @@ import (

var (
stringClusterSettings = []string{
"action.auto_create_index",
"cluster.info.update.interval",
"cluster.no_master_block",
"cluster.persistent_tasks.allocation.enable",
"cluster.persistent_tasks.allocation.recheck_interval",
"cluster.info.update.interval",
"cluster.routing.allocation.allow_rebalance",
"cluster.routing.allocation.awareness.attributes",
"cluster.routing.allocation.disk.watermark.high",
"cluster.routing.allocation.disk.watermark.low",
"cluster.routing.allocation.enable",
"cluster.routing.rebalance.enable",
"cluster.no_master_block",
"indices.breaker.fielddata.limit",
"indices.breaker.request.limit",
"indices.breaker.total.limit",
"indices.recovery.max_bytes_per_sec",
"network.breaker.inflight_requests.limit",
"script.max_compilations_rate",
"search.default_search_timeout",
"action.auto_create_index",
}
intClusterSettings = []string{
"cluster.max_shards_per_node",
Expand All @@ -62,7 +63,6 @@ var (
"cluster.indices.close.enable",
"cluster.routing.allocation.disk.include_relocations",
"cluster.routing.allocation.disk.threshold_enabled",
"cluster.routing.allocation.enable",
"cluster.routing.allocation.same_shard.host",
"action.destructive_requires_name",
}
Expand Down

0 comments on commit f06d159

Please sign in to comment.