node.asciidoc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [discrete]
  2. [[breaking_80_node_changes]]
  3. ==== Node 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. .The `node.max_local_storage_nodes` setting has been removed.
  8. [%collapsible]
  9. ====
  10. *Details* +
  11. The `node.max_local_storage_nodes` setting was deprecated in 7.x and
  12. has been removed in 8.0. Nodes should be run on separate data paths
  13. to ensure that each node is consistently assigned to the same data path.
  14. *Impact* +
  15. Discontinue use of the `node.max_local_storage_nodes` setting. Specifying this
  16. setting in `elasticsearch.yml` will result in an error on startup.
  17. ====
  18. .The layout of the data folder has changed.
  19. [%collapsible]
  20. ====
  21. *Details* +
  22. Each node's data is now stored directly in the data directory set by the
  23. `path.data` setting, rather than in `${path.data}/nodes/0`, because the removal
  24. of the `node.max_local_storage_nodes` setting means that nodes may no longer
  25. share a data path.
  26. *Impact* +
  27. At startup, {es} will automatically migrate the data path to the new layout.
  28. This automatic migration will not proceed if the data path contains data for
  29. more than one node. You should move to a configuration in which each node has
  30. its own data path before upgrading.
  31. If you try to upgrade a configuration in which there is data for more than one
  32. node in a data path then the automatic migration will fail and {es}
  33. will refuse to start. To resolve this you will need to perform the migration
  34. manually. The data for the extra nodes are stored in folders named
  35. `${path.data}/nodes/1`, `${path.data}/nodes/2` and so on, and you should move
  36. each of these folders to an appropriate location and then configure the
  37. corresponding node to use this location for its data path. If your nodes each
  38. have more than one data path in their `path.data` settings then you should move
  39. all the corresponding subfolders in parallel. Each node uses the same subfolder
  40. (e.g. `nodes/2`) across all its data paths.
  41. ====
  42. .Closed indices created in {es} 6.x and earlier versions are not supported.
  43. [%collapsible]
  44. ====
  45. *Details* +
  46. In earlier versions a node would start up even if it had data from indices
  47. created in a version before the previous major version, as long as those
  48. indices were closed. {es} now ensures that it is compatible with every index,
  49. open or closed, at startup time.
  50. *Impact* +
  51. Reindex closed indices created in {es} 6.x or before with {es} 7.x if they need
  52. to be carried forward to {es} 8.x.
  53. ====
  54. // end::notable-breaking-changes[]