upgrade.asciidoc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [[setup-upgrade]]
  2. = Upgrade {es}
  3. ifeval::["{release-state}"!="released"]
  4. [[upgrade-pre-release]]
  5. IMPORTANT: This documentation is for {es} {version}, which is not yet released.
  6. You can upgrade from a previously released version to a pre-release build, if
  7. following a supported upgrade path. Upgrading from a pre-release build to any
  8. other build is not supported, and can result in errors or silent data loss. If
  9. you run a pre-release build for testing, discard the contents of the cluster
  10. before upgrading to another build of {es}.
  11. endif::[]
  12. {es} clusters can usually be upgraded one node at a time so upgrading does not
  13. interrupt service. For upgrade instructions, refer to
  14. {stack-ref}/upgrading-elastic-stack.html[Upgrading to Elastic {version}].
  15. .Upgrade from 7.x
  16. IMPORTANT: To upgrade to {version} from 7.16 or an earlier version, **you must
  17. first upgrade to {prev-major-last}**, even if you opt to do a full-cluster
  18. restart instead of a rolling upgrade. This enables you to use the **Upgrade
  19. Assistant** to identify and resolve issues, reindex indices created before 7.0,
  20. and then perform a rolling upgrade. You must resolve all critical issues before
  21. proceeding with the upgrade. For instructions, refer to
  22. {stack-ref}/upgrading-elastic-stack.html#prepare-to-upgrade[Prepare to upgrade
  23. from 7.x].
  24. [discrete]
  25. [[upgrade-index-compatibility]]
  26. === Index compatibility
  27. {es} has full query and write support for indices created in the previous major
  28. version. If you have indices created in 6.x or earlier, you might use the
  29. <<archive-indices,archive functionality>> to import them into newer {es}
  30. versions, or you must reindex or delete them before upgrading to {version}.
  31. {es} nodes will fail to start if incompatible indices are present.
  32. Snapshots of 6.x or earlier indices can only restored using the
  33. <<archive-indices,archive functionality>> to a 8.x cluster even if they
  34. were created by a 7.x cluster.
  35. The **Upgrade Assistant** in {prev-major-last} identifies any indices
  36. that need to be reindexed or removed.
  37. [discrete]
  38. [[upgrade-rest-api-compatibility]]
  39. === REST API compatibility
  40. <<rest-api-compatibility,REST API compatibility>> is a per-request opt-in
  41. feature that can help REST clients mitigate non-compatible (breaking) changes to
  42. the REST API.
  43. [discrete]
  44. [[upgrade-fips-java17]]
  45. === FIPS Compliance and Java 17
  46. include::{xes-repo-dir}/security/fips-java17.asciidoc[]
  47. include::upgrade/archived-settings.asciidoc[]
  48. include::upgrade/archive-indices.asciidoc[]