Skip to content

Commit b244f7a

Browse files
authored
Add availability information for node allocation stats cache (#131699)
1 parent 093d23b commit b244f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ PUT _cluster/settings
306306
```
307307

308308

309-
## Node Allocation Stats Cache [node-allocation-stats-cache]
309+
## Node allocation stats cache [node-allocation-stats-cache]
310310

311-
`cluster.routing.allocation.stats.cache.ttl`
311+
`cluster.routing.allocation.stats.cache.ttl` {applies_to}`stack: ga 9.1`
312312
: ([Dynamic](docs-content://deploy-manage/stack-settings.md#dynamic-cluster-setting)) Calculating the node allocation stats for a [Get node statistics API call](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-stats) can become expensive on the master for clusters with a high number of nodes. To prevent overloading the master the node allocation stats are cached on the master for 1 minute `1m` by default. This setting can be used to adjust the cache time to live value, if necessary, keeping in mind the tradeoff between the freshness of the statistics and the processing costs on the master. The cache can be disabled (not recommended) by setting the value to `0s` (the minimum value). The maximum value is 10 minutes `10m`.

0 commit comments

Comments
 (0)