migrate_8_0.asciidoc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. [[migrating-8.0]]
  2. == Migrating to 8.0
  3. ++++
  4. <titleabbrev>8.0</titleabbrev>
  5. ++++
  6. This section discusses the changes that you need to be aware of when migrating
  7. your application to {es} 8.0.
  8. See also <<release-highlights>> and <<es-release-notes>>.
  9. coming::[8.0.0]
  10. [discrete]
  11. [[breaking-changes-8.0]]
  12. === Breaking changes
  13. The following changes in {es} 8.0 might affect your applications
  14. and prevent them from operating normally.
  15. Before upgrading to 8.0, review these changes and take the described steps
  16. to mitigate the impact.
  17. NOTE: Breaking changes introduced in minor versions are
  18. normally limited to security and bug fixes.
  19. Significant changes in behavior are deprecated in a minor release and
  20. the old behavior is supported until the next major release.
  21. To find out if you are using any deprecated functionality,
  22. enable <<deprecation-logging, deprecation logging>>.
  23. include::migrate_8_0/cluster-node-setting-changes.asciidoc[]
  24. include::migrate_8_0/command-line-tool-changes.asciidoc[]
  25. include::migrate_8_0/index-setting-changes.asciidoc[]
  26. include::migrate_8_0/java-api-changes.asciidoc[]
  27. include::migrate_8_0/jvm-option-changes.asciidoc[]
  28. include::migrate_8_0/logging-changes.asciidoc[]
  29. include::migrate_8_0/mapping-changes.asciidoc[]
  30. include::migrate_8_0/packaging-changes.asciidoc[]
  31. include::migrate_8_0/painless-changes.asciidoc[]
  32. include::migrate_8_0/plugin-changes.asciidoc[]
  33. include::migrate_8_0/rest-api-changes.asciidoc[]
  34. include::migrate_8_0/system-req-changes.asciidoc[]
  35. include::migrate_8_0/transform.asciidoc[]
  36. include::migrate_8_0/sql-jdbc-changes.asciidoc[]
  37. [discrete]
  38. [[deprecated-8.0]]
  39. === Deprecations
  40. The following functionality has been deprecated in {es} 8.0
  41. and will be removed in a future version.
  42. While this won't have an immediate impact on your applications,
  43. we strongly encourage you take the described steps to update your code
  44. after upgrading to 8.0.
  45. NOTE: Significant changes in behavior are deprecated in a minor release and
  46. the old behavior is supported until the next major release.
  47. To find out if you are using any deprecated functionality,
  48. enable <<deprecation-logging, deprecation logging>>.
  49. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  50. //Installation and Upgrade Guide
  51. //tag::notable-breaking-changes[]
  52. [discrete]
  53. [[breaking_80_cluster_node_setting_deprecations]]
  54. ==== Cluster and node setting deprecations
  55. [[deprecate-transient-cluster-settings]]
  56. .We no longer recommend using transient cluster settings.
  57. [%collapsible]
  58. ====
  59. *Details* +
  60. We no longer recommend using transient cluster settings. Use persistent cluster
  61. settings instead. If a cluster becomes unstable, transient settings can clear
  62. unexpectedly, resulting in an undesired cluster configuration.
  63. *Impact* +
  64. Transient cluster settings are not yet deprecated, but we plan to deprecate them
  65. in a future release. For migration steps, see the
  66. {ref}/transient-settings-migration-guide.html[Transient settings migration
  67. guide].
  68. ====
  69. [discrete]
  70. [[breaking_80_command_line_tool_deprecations]]
  71. ==== Command line tool deprecations
  72. TIP: {ess-skip-section}
  73. [[deprecate-elasticsearch-setup-passwords]]
  74. .The `elasticsearch-setup-passwords` tool is deprecated.
  75. [%collapsible]
  76. ====
  77. *Details* +
  78. The `elasticsearch-setup-passwords` tool is deprecated in 8.0. To
  79. manually reset the password for built-in users (including the `elastic` user), use
  80. the {ref}/reset-password.html[`elasticsearch-reset-password`] tool, the {es}
  81. {ref}/security-api-change-password.html[change passwords API], or the
  82. User Management features in {kib}.
  83. `elasticsearch-setup-passwords` will be removed in a future release.
  84. *Impact* +
  85. Passwords are generated automatically for the `elastic` user when you start {es} for the first time. If you run `elasticsearch-setup-passwords` after
  86. starting {es}, it will fail because the `elastic`
  87. user password is already configured.
  88. ====
  89. //end::notable-breaking-changes[]
  90. [[deprecate-max-merge-at-once-explicit-setting]]
  91. .The setting `max_merge_at_once_explicit` is deprecated.
  92. [%collapsible]
  93. ====
  94. *Details* +
  95. The setting `max_merge_at_once_explicit` is removed in Lucene 9.
  96. *Impact* +
  97. Remove the setting `max_merge_at_once_explicit` from your
  98. configuration.
  99. ====
  100. [[deprecate-indices-query-bool-max-clause-count-setting]]
  101. .The setting `indices.query.bool.max_clause_count` is deprecated.
  102. [%collapsible]
  103. ====
  104. *Details* +
  105. The setting `indices.query.bool.max_clause_count` is deprecated. Instead,
  106. {es} configures the maximum clause count for Lucene based on the available
  107. heap and the size of the thread pool.
  108. *Impact* +
  109. Remove the setting `indices.query.bool.max_clause_count` from
  110. your configuration.
  111. ====
  112. include::migrate_8_0/migrate_to_java_time.asciidoc[]
  113. include::transient-settings-migration-guide.asciidoc[]