node.asciidoc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [float]
  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. // end::notable-breaking-changes[]
  8. [float]
  9. ==== Removal of `node.max_local_storage_nodes` setting
  10. The `node.max_local_storage_nodes` setting was deprecated in 7.x and
  11. has been removed in 8.0. Nodes should be run on separate data paths
  12. to ensure that each node is consistently assigned to the same data path.
  13. [float]
  14. ==== Change of data folder layout
  15. Each node's data is now stored directly in the data directory set by the
  16. `path.data` setting, rather than in `${path.data}/nodes/0`, because the removal
  17. of the `node.max_local_storage_nodes` setting means that nodes may no longer
  18. share a data path. At startup, Elasticsearch will automatically migrate the data
  19. path to the new layout. This automatic migration will not proceed if the data
  20. path contains data for more than one node. You should move to a configuration in
  21. which each node has its own data path before upgrading.
  22. If you try to upgrade a configuration in which there is data for more than one
  23. node in a data path then the automatic migration will fail and Elasticsearch
  24. will refuse to start. To resolve this you will need to perform the migration
  25. manually. The data for the extra nodes are stored in folders named
  26. `${path.data}/nodes/1`, `${path.data}/nodes/2` and so on, and you should move
  27. each of these folders to an appropriate location and then configure the
  28. corresponding node to use this location for its data path. If your nodes each
  29. have more than one data path in their `path.data` settings then you should move
  30. all the corresponding subfolders in parallel. Each node uses the same subfolder
  31. (e.g. `nodes/2`) across all its data paths.