settings.asciidoc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. [float]
  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. ====
  19. [[remove-pidfile]]
  20. .The `pidfile` setting has been replaced by `node.pidfile`.
  21. [%collapsible]
  22. ====
  23. *Details* +
  24. To ensure that all settings are in a proper namespace, the `pidfile` setting was
  25. previously deprecated in version 7.4.0 of Elasticsearch, and is removed in
  26. version 8.0.0. Instead, use `node.pidfile`.
  27. ====
  28. [[remove-processors]]
  29. .The `processors` setting has been replaced by `node.processors`.
  30. [%collapsible]
  31. ====
  32. *Details* +
  33. To ensure that all settings are in a proper namespace, the `processors` setting
  34. was previously deprecated in version 7.4.0 of Elasticsearch, and is removed in
  35. version 8.0.0. Instead, use `node.processors`.
  36. ====
  37. .The `node.processors` setting can no longer exceed the available number of processors.
  38. [%collapsible]
  39. ====
  40. *Details* +
  41. Previously it was possible to set the number of processors used to set the
  42. default sizes for the thread pools to be more than the number of available
  43. processors. As this leads to more context switches and more threads but without
  44. an increase in the number of physical CPUs on which to schedule these additional
  45. threads, the `node.processors` setting is now bounded by the number of available
  46. processors.
  47. ====
  48. .The `cluster.remote.connect` setting has been removed.
  49. [%collapsible]
  50. ====
  51. *Details* +
  52. In Elasticsearch 7.7.0, the setting `cluster.remote.connect` was deprecated in
  53. favor of setting `node.remote_cluster_client`. In Elasticsearch 8.0.0, the
  54. setting `cluster.remote.connect` is removed.
  55. ====
  56. .The `node.local_storage` setting has been removed.
  57. [%collapsible]
  58. ====
  59. *Details* +
  60. In Elasticsearch 7.8.0, the setting `node.local_storage` was deprecated and
  61. beginning in Elasticsearch 8.0.0 all nodes will require local storage. Therefore,
  62. the `node.local_storage` setting has been removed.
  63. ====
  64. .The `auth.password` setting for HTTP monitoring has been removed.
  65. [%collapsible]
  66. ====
  67. *Details* +
  68. In Elasticsearch 7.7.0, the setting `xpack.monitoring.exporters.<exporterName>.auth.password`
  69. was deprecated in favor of setting `xpack.monitoring.exporters.<exporterName>.auth.secure_password`.
  70. In Elasticsearch 8.0.0, the setting `xpack.monitoring.exporters.<exporterName>.auth.password` is
  71. removed.
  72. ====
  73. .Settings used to disable basic license features have been removed.
  74. [%collapsible]
  75. ====
  76. *Details* +
  77. The following settings were deprecated in {es} 7.8.0 and have been removed
  78. in {es} 8.0.0:
  79. * `xpack.enrich.enabled`
  80. * `xpack.flattened.enabled`
  81. * `xpack.ilm.enabled`
  82. * `xpack.monitoring.enabled`
  83. * `xpack.rollup.enabled`
  84. * `xpack.slm.enabled`
  85. * `xpack.sql.enabled`
  86. * `xpack.transform.enabled`
  87. * `xpack.vectors.enabled`
  88. These basic license features are now always enabled for the {default-dist}.
  89. If you have disabled ILM so that you can use another tool to manage Watcher
  90. indices, the newly introduced `xpack.watcher.use_ilm_index_management` setting
  91. may be set to false.
  92. ====
  93. .The `prefer_v2_templates` parameter now defaults to `true` for several document and index APIs.
  94. [%collapsible]
  95. ====
  96. *Details* +
  97. In Elasticsearch 7.8.0 the `?prefer_v2_templates=true|false` parameter was introduced to allow
  98. specifying whether to favor V1 or V2 templates when a new index is created. In 8.0 this now defaults
  99. to `true`, meaning that V2 index templates will always take precedence if they match. V1 templates
  100. will continue to be applied if no V2 index template matches the newly created index pattern.
  101. The `?prefer_v2_templates` parameter is supported on the <<indices-create-index,Create Index>>,
  102. <<docs-index_,Index>>, <<docs-bulk,Bulk>>, <<docs-update,Update>>, and
  103. <<indices-rollover-index,Rollover>> APIs.
  104. ====