settings.asciidoc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. [float]
  2. [[breaking_70_settings_changes]]
  3. === Settings changes
  4. [float]
  5. ==== The default for `node.name` is now the hostname
  6. `node.name` now defaults to the hostname at the time when Elasticsearch
  7. is started. Previously the default node name was the first eight characters
  8. of the node id. It can still be configured explicitly in `elasticsearch.yml`.
  9. [float]
  10. ==== Percolator
  11. * The deprecated `index.percolator.map_unmapped_fields_as_string` setting has been removed in favour of
  12. the `index.percolator.map_unmapped_fields_as_text` setting.
  13. [float]
  14. ==== Index thread pool
  15. * Internally, single-document index/delete/update requests are executed as bulk
  16. requests with a single-document payload. This means that these requests are
  17. executed on the bulk thread pool. As such, the indexing thread pool is no
  18. longer needed and has been removed. As such, the settings
  19. `thread_pool.index.size` and `thread_pool.index.queue_size` have been removed.
  20. [float]
  21. [[write-thread-pool-fallback]]
  22. ==== Write thread pool fallback
  23. * The bulk thread pool was replaced by the write thread pool in 6.3.0. However,
  24. for backwards compatibility reasons the name `bulk` was still usable as fallback
  25. settings `thread_pool.bulk.size` and `thread_pool.bulk.queue_size` for
  26. `thread_pool.write.size` and `thread_pool.write.queue_size`, respectively, and
  27. the system property `es.thread_pool.write.use_bulk_as_display_name` was
  28. available to keep the display output in APIs as `bulk` instead of `write`.
  29. These fallback settings and this system property have been removed.
  30. [float]
  31. ==== Disabling memory-mapping
  32. * The setting `node.store.allow_mmapfs` has been renamed to `node.store.allow_mmap`.
  33. [float]
  34. [[remove-http-enabled]]
  35. ==== Http enabled setting removed
  36. * The setting `http.enabled` previously allowed disabling binding to HTTP, only allowing
  37. use of the transport client. This setting has been removed, as the transport client
  38. will be removed in the future, thus requiring HTTP to always be enabled.
  39. [float]
  40. [[remove-http-pipelining-setting]]
  41. ==== Http pipelining setting removed
  42. * The setting `http.pipelining` previously allowed disabling HTTP pipelining support.
  43. This setting has been removed, as disabling http pipelining support on the server
  44. provided little value. The setting `http.pipelining.max_events` can still be used to
  45. limit the number of pipelined requests in-flight.
  46. [float]
  47. ==== Cross-cluster search settings renamed
  48. The cross-cluster search remote cluster connection infrastructure is also used
  49. in cross-cluster replication. This means that the setting names
  50. `search.remote.*` used for configuring cross-cluster search belie the fact that
  51. they also apply to other situations where a connection to a remote cluster as
  52. used. Therefore, these settings have been renamed from `search.remote.*` to
  53. `cluster.remote.*`. For backwards compatibility purposes, we will fallback to
  54. `search.remote.*` if `cluster.remote.*` is not set. For any such settings stored
  55. in the cluster state, or set on dynamic settings updates, we will automatically
  56. upgrade the setting from `search.remote.*` to `cluster.remote.*`. The fallback
  57. settings will be removed in 8.0.0.
  58. [float]
  59. [[audit-logfile-local-node-info]]
  60. ==== Audit logfile local node info
  61. The following settings have been removed:
  62. - `xpack.security.audit.logfile.prefix.emit_node_host_address`, instead use
  63. `xpack.security.audit.logfile.emit_node_host_address`
  64. - `xpack.security.audit.logfile.prefix.emit_node_host_name`, instead use
  65. `xpack.security.audit.logfile.emit_node_host_name`
  66. - `xpack.security.audit.logfile.prefix.emit_node_name`, instead use
  67. `xpack.security.audit.logfile.emit_node_name`
  68. The new settings have the same meaning as the removed ones, but the `prefix`
  69. name component is no longer meaningful as logfile audit entries are structured
  70. JSON documents and are not prefixed by anything.
  71. Moreover, `xpack.security.audit.logfile.emit_node_name` has changed its default
  72. from `true` to `false`. All other settings mentioned before, have kept their
  73. default value of `false`.
  74. [float]
  75. [[include-realm-type-in-setting]]
  76. ==== Security realms settings
  77. The settings for all security realms must now include the realm type as part
  78. of the setting name, and the explicit `type` setting has been removed.
  79. A realm that was previous configured as:
  80. [source,yaml]
  81. --------------------------------------------------
  82. xpack.security.authc.realms:
  83. ldap1:
  84. type: ldap
  85. order: 1
  86. url: "ldaps://ldap.example.com/"
  87. --------------------------------------------------
  88. Must be migrated to:
  89. [source,yaml]
  90. --------------------------------------------------
  91. xpack.security.authc.realms:
  92. ldap.ldap1:
  93. order: 1
  94. url: "ldaps://ldap.example.com/"
  95. --------------------------------------------------
  96. Any realm specific secure settings that have been stored in the elasticsearch
  97. keystore (such as ldap bind passwords, or passwords for ssl keys) must be updated
  98. in a similar way.