upgrade.asciidoc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [[setup-upgrade]]
  2. == Upgrading
  3. [IMPORTANT]
  4. ===========================================
  5. Before upgrading Elasticsearch:
  6. * Consult the <<breaking-changes,breaking changes>> docs.
  7. * Test upgrades in a dev environment before upgrading your production cluster.
  8. * Always <<modules-snapshots,back up your data>> before upgrading.
  9. You **cannot roll back** to an earlier version unless you have a backup of your data.
  10. * If you are using custom plugins, check that a compatible version is available.
  11. ===========================================
  12. Elasticsearch can usually be upgraded using a rolling upgrade process,
  13. resulting in no interruption of service. This section details how to perform
  14. both rolling upgrades and upgrades with full cluster restarts.
  15. To determine whether a rolling upgrade is supported for your release, please
  16. consult this table:
  17. [cols="1<m,1<m,3",options="header",]
  18. |=======================================================================
  19. |Upgrade From |Upgrade To |Supported Upgrade Type
  20. |2.x |2.y |<<rolling-upgrades,Rolling upgrade>> (where `y > x`)
  21. |5.x |5.y |<<rolling-upgrades,Rolling upgrade>> (where `y > x`)
  22. |2.x |5.x |<<restart-upgrade,Full cluster restart>>
  23. |5.0.0-alpha1 |5.y |<<restart-upgrade,Full cluster restart>>
  24. |5.0.0-alpha2 |5.y |<<restart-upgrade,Full cluster restart>>
  25. |5.0.0-beta1 |5.y |<<restart-upgrade,Full cluster restart>>
  26. |=======================================================================
  27. include::rolling_upgrade.asciidoc[]
  28. include::cluster_restart.asciidoc[]