settings.asciidoc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. [discrete]
  2. [[breaking_80_settings_changes]]
  3. ==== Settings changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. //end::notable-breaking-changes[]
  8. [[search-remote-settings-removed]]
  9. .The `search.remote.*` settings have been removed.
  10. [%collapsible]
  11. ====
  12. *Details* +
  13. In 6.5 these settings were deprecated in favor of `cluster.remote`. In 7.x we
  14. provided automatic upgrading of these settings to their `cluster.remote`
  15. counterparts. In 8.0.0, these settings have been removed. Elasticsearch will
  16. refuse to start if you have these settings in your configuration or cluster
  17. state.
  18. *Impact* +
  19. Use the replacement `cluster.remote` settings. Discontinue use of the
  20. `search.remote.*` settings. Specifying these settings in `elasticsearch.yml`
  21. will result in an error on startup.
  22. ====
  23. [[remove-pidfile]]
  24. .The `pidfile` setting has been replaced by `node.pidfile`.
  25. [%collapsible]
  26. ====
  27. *Details* +
  28. To ensure that all settings are in a proper namespace, the `pidfile` setting was
  29. previously deprecated in version 7.4.0 of Elasticsearch, and is removed in
  30. version 8.0.0. Instead, use `node.pidfile`.
  31. *Impact* +
  32. Use the `node.pidfile` setting. Discontinue use of the `pidfile` setting.
  33. Specifying the `pidfile` setting in `elasticsearch.yml` will result in an error
  34. on startup.
  35. ====
  36. [[remove-processors]]
  37. .The `processors` setting has been replaced by `node.processors`.
  38. [%collapsible]
  39. ====
  40. *Details* +
  41. To ensure that all settings are in a proper namespace, the `processors` setting
  42. was previously deprecated in version 7.4.0 of Elasticsearch, and is removed in
  43. version 8.0.0. Instead, use `node.processors`.
  44. *Impact* +
  45. Use the `node.processors` setting. Discontinue use of the `processors` setting.
  46. Specifying the `processors` setting in `elasticsearch.yml` will result in an
  47. error on startup.
  48. ====
  49. .The `node.processors` setting can no longer exceed the available number of processors.
  50. [%collapsible]
  51. ====
  52. *Details* +
  53. Previously it was possible to set the number of processors used to set the
  54. default sizes for the thread pools to be more than the number of available
  55. processors. As this leads to more context switches and more threads but without
  56. an increase in the number of physical CPUs on which to schedule these additional
  57. threads, the `node.processors` setting is now bounded by the number of available
  58. processors.
  59. *Impact* +
  60. If specified, ensure the value of `node.processors` setting does not exceed the
  61. number of available processors. Setting the `node.processors` value greater than
  62. the number of available processors in `elasticsearch.yml` will result in an
  63. error on startup.
  64. ====
  65. .The `cluster.remote.connect` setting has been removed.
  66. [%collapsible]
  67. ====
  68. *Details* +
  69. In Elasticsearch 7.7.0, the setting `cluster.remote.connect` was deprecated in
  70. favor of setting `node.remote_cluster_client`. In Elasticsearch 8.0.0, the
  71. setting `cluster.remote.connect` is removed.
  72. *Impact* +
  73. Use the `node.remote_cluster_client` setting. Discontinue use of the
  74. `cluster.remote.connect` setting. Specifying the `cluster.remote.connect`
  75. setting in `elasticsearch.yml` will result in an error on startup.
  76. ====
  77. .The `node.local_storage` setting has been removed.
  78. [%collapsible]
  79. ====
  80. *Details* +
  81. In Elasticsearch 7.8.0, the setting `node.local_storage` was deprecated and
  82. beginning in Elasticsearch 8.0.0 all nodes will require local storage. Therefore,
  83. the `node.local_storage` setting has been removed.
  84. *Impact* +
  85. Discontinue use of the `node.local_storage` setting. Specifying this setting in
  86. `elasticsearch.yml` will result in an error on startup.
  87. ====
  88. .The `auth.password` setting for HTTP monitoring has been removed.
  89. [%collapsible]
  90. ====
  91. *Details* +
  92. In Elasticsearch 7.7.0, the setting `xpack.monitoring.exporters.<exporterName>.auth.password`
  93. was deprecated in favor of setting `xpack.monitoring.exporters.<exporterName>.auth.secure_password`.
  94. In Elasticsearch 8.0.0, the setting `xpack.monitoring.exporters.<exporterName>.auth.password` is
  95. removed.
  96. *Impact* +
  97. Use the `xpack.monitoring.exporters.<exporterName>.auth.secure_password`
  98. setting. Discontinue use of the
  99. `xpack.monitoring.exporters.<exporterName>.auth.password` setting. Specifying
  100. the `xpack.monitoring.exporters.<exporterName>.auth.password` setting in
  101. `elasticsearch.yml` will result in an error on startup.
  102. ====
  103. .Settings used to disable basic license features have been removed.
  104. [%collapsible]
  105. ====
  106. *Details* +
  107. The following settings were deprecated in {es} 7.8.0 and have been removed
  108. in {es} 8.0.0:
  109. * `xpack.enrich.enabled`
  110. * `xpack.flattened.enabled`
  111. * `xpack.ilm.enabled`
  112. * `xpack.monitoring.enabled`
  113. * `xpack.rollup.enabled`
  114. * `xpack.slm.enabled`
  115. * `xpack.sql.enabled`
  116. * `xpack.transform.enabled`
  117. * `xpack.vectors.enabled`
  118. These basic license features are now always enabled.
  119. If you have disabled ILM so that you can use another tool to manage Watcher
  120. indices, the newly introduced `xpack.watcher.use_ilm_index_management` setting
  121. may be set to false.
  122. *Impact* +
  123. Discontinue use of the removed settings. Specifying these settings in
  124. `elasticsearch.yml` will result in an error on startup.
  125. ====
  126. .Settings used to defer cluster recovery pending a certain number of master nodes have been removed.
  127. [%collapsible]
  128. ====
  129. *Details* +
  130. The following settings were deprecated in {es} 7.8.0 and have been removed in
  131. {es} 8.0.0:
  132. * `gateway.expected_nodes`
  133. * `gateway.expected_master_nodes`
  134. * `gateway.recover_after_nodes`
  135. * `gateway.recover_after_master_nodes`
  136. It is safe to recover the cluster as soon as a majority of master-eligible
  137. nodes have joined so there is no benefit in waiting for any additional
  138. master-eligible nodes to start.
  139. *Impact* +
  140. Discontinue use of the removed settings. If needed, use
  141. `gateway.expected_data_nodes` or `gateway.recover_after_data_nodes` to defer
  142. cluster recovery pending a certain number of data nodes.
  143. ====
  144. .You can no longer set `xpack.searchable.snapshot.shared_cache.size` on non-frozen nodes.
  145. [%collapsible]
  146. ====
  147. *Details* +
  148. Setting `xpack.searchable.snapshot.shared_cache.size` to be positive on a node
  149. that does not have the `data_frozen` role was deprecated in {es} 7.12.0 and has
  150. been removed in {es} 8.0.0.
  151. *Impact* +
  152. {es} only allocates partially mounted indices to nodes with the `data_frozen`
  153. role. Do not set `xpack.searchable.snapshot.shared_cache.size` on nodes without
  154. the `data_frozen` role. Removing the setting on nodes without the `data_frozen`
  155. role will not impact functionality.
  156. ====
  157. .By default, destructive index actions do not allow wildcards.
  158. [%collapsible]
  159. ====
  160. *Details* +
  161. The default value of the setting `action.destructive_requires_name` changes from `false`
  162. to `true` in {es} 8.0.0.
  163. In previous versions, the default setting allowed users to use wildcard
  164. patterns to delete, close, or change index blocks on indices. In order
  165. to prevent the accidental deletion of indices that happen to match a
  166. wildcard pattern, we now require, by default, that any such destructive
  167. operation explicitly name the indices it intends to modify.
  168. *Impact* +
  169. If you would like to use wildcard patterns for destructive actions, set
  170. `action.destructive_requires_name` to `false` using the <<cluster-update-settings,
  171. cluster settings>> API.
  172. ====
  173. .Legacy role settings have been removed.
  174. [%collapsible]
  175. ====
  176. *Details* +
  177. The legacy role settings:
  178. * `node.data`
  179. * `node.ingest`
  180. * `node.master`
  181. * `node.ml`
  182. * `node.remote_cluster_client`
  183. * `node.transform`
  184. * `node.voting_only`
  185. have been removed. Instead, use the `node.roles` setting. If you were previously
  186. using the legacy role settings on a 7.13 or later cluster, you will have a
  187. deprecation log message on each of your nodes indicating the exact replacement
  188. value for `node.roles`.
  189. *Impact* +
  190. Discontinue use of the removed settings. Specifying these settings in
  191. `elasticsearch.yml` will result in an error on startup.
  192. ====
  193. [[system-call-filter-setting]]
  194. .System call filter setting removed
  195. [%collapsible]
  196. ====
  197. *Details* +
  198. Elasticsearch uses system call filters to remove its ability to fork another
  199. process. This is useful to mitigate remote code exploits. These system call
  200. filters are enabled by default, and were previously controlled via the setting
  201. `bootstrap.system_call_filter`. Starting in Elasticsearch 8.0, system call
  202. filters will be required. As such, the setting `bootstrap.system_call_filter`
  203. was deprecated in Elasticsearch 7.13.0, and is removed as of Elasticsearch
  204. 8.0.0.
  205. *Impact* +
  206. Discontinue use of the removed setting. Specifying this setting in Elasticsearch
  207. configuration will result in an error on startup.
  208. ====
  209. [[tier-filter-setting]]
  210. .Tier filtering settings removed
  211. [%collapsible]
  212. ====
  213. *Details* +
  214. The cluster and index level settings ending in `._tier` used for filtering the allocation of a shard
  215. to a particular set of nodes have been removed. Instead, the <<tier-preference-allocation-filter,
  216. tier preference setting>>, `index.routing.allocation.include._tier_preference` should be used. The
  217. removed settings are:
  218. Cluster level settings:
  219. - `cluster.routing.allocation.include._tier`
  220. - `cluster.routing.allocation.exclude._tier`
  221. - `cluster.routing.allocation.require._tier`
  222. Index settings:
  223. - `index.routing.allocation.include._tier`
  224. - `index.routing.allocation.exclude._tier`
  225. - `index.routing.allocation.require._tier`
  226. *Impact* +
  227. Discontinue use of the removed settings. Specifying any of these cluster settings in Elasticsearch
  228. configuration will result in an error on startup. Any indices using these settings will have the
  229. settings archived (and they will have no effect) when the index metadata is loaded.
  230. [[shared-data-path-setting]]
  231. .Shared data path and per index data path settings deprecated
  232. [%collapsible]
  233. ====
  234. *Details* +
  235. Elasticsearch uses the shared data path as the base path of per index data
  236. paths. This feature was previously used with shared replicas. Starting in
  237. 7.13.0, these settings are deprecated. Starting in 8.0 only existing
  238. indices created in 7.x will be capable of using the shared data path and
  239. per index data path settings.
  240. *Impact* +
  241. Discontinue use of the deprecated settings.
  242. [[single-data-node-watermark-setting]]
  243. .Single data node watermark setting only accept true and is deprecated
  244. [%collapsible]
  245. ====
  246. *Details* +
  247. In 7.14, setting `cluster.routing.allocation.disk.watermark.enable_for_single_data_node`
  248. to false was deprecated. Starting in 8.0, the only legal value will be
  249. true. In a future release, the setting will be removed completely, with same
  250. behavior as if the setting was `true`.
  251. If the old behavior is desired for a single data node cluster, disk based
  252. allocation can be disabled by setting
  253. `cluster.routing.allocation.disk.threshold_enabled: false`
  254. *Impact* +
  255. Discontinue use of the deprecated setting.
  256. ====