Skip to content

Commit

Permalink
Fail start on obsolete indices documentation
Browse files Browse the repository at this point in the history
Improved documentation on when nodes will refuse to start up.

Issue elastic#27073
  • Loading branch information
henningandersen committed Jan 30, 2019
1 parent e768136 commit eaa652b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/reference/migration/migrate_7_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ See also <<release-highlights>> and <<es-release-notes>>.
* <<breaking_70_restclient_changes>>
* <<breaking_70_low_level_restclient_changes>>
* <<breaking_70_logging_changes>>
* <<breaking_70_node_start>>
* <<breaking_70_node_changes>>

[float]
=== Indices created before 7.0
Expand Down Expand Up @@ -61,4 +61,4 @@ include::migrate_7_0/snapshotstats.asciidoc[]
include::migrate_7_0/restclient.asciidoc[]
include::migrate_7_0/low_level_restclient.asciidoc[]
include::migrate_7_0/logging.asciidoc[]
include::migrate_7_0/node_start.asciidoc[]
include::migrate_7_0/node.asciidoc[]
15 changes: 15 additions & 0 deletions docs/reference/migration/migrate_7_0/node.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[float]
[[breaking_70_node_changes]]
=== Node start up

[float]
==== Nodes with left-behind data or metadata refuse to start
Repurposing an existing node by changing node.master or node.data to false can leave lingering on-disk metadata and
data around, which will not be accessible by the node's new role. Beside storing non-accessible data, this can lead
to situations where dangling indices are imported even though the node might not be able to host any shards, leading
to a red cluster health. To avoid this,

* nodes with on-disk shard data and node.data set to false will refuse to start
* nodes with on-disk index/shard data and both node.master and node.data set to false will refuse to start

Beware that such role changes done prior to the 7.0 upgrade could prevent node start up in 7.0.
19 changes: 0 additions & 19 deletions docs/reference/migration/migrate_7_0/node_start.asciidoc

This file was deleted.

0 comments on commit eaa652b

Please sign in to comment.