Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail start on invalid index metadata #37748

Merged

Conversation

Projects
None yet
3 participants
@henningandersen
Copy link
Contributor

commented Jan 23, 2019

Node started with node.data=false and node.master=false can no longer
start if they have index metadata. This avoids resurrecting old indexes
into the cluster and ensures metadata is cleaned out before
re-purposing a node that was previously master or data node.

Closes #27073

Fail start on invalid index metadata
Node started with node.data=false and node.master=false can no longer
start if they have index metadata. This avoids resurrecting old indexes
into the cluster and ensures metadata is cleaned out before
re-purposing a node that was previously master or data node.

Closes #27073
@ywelsch
Copy link
Contributor

left a comment

LGTM

@henningandersen henningandersen merged commit 49073dd into elastic:master Jan 25, 2019

7 checks passed

CLA Commit author is a member of Elasticsearch
Details
elasticsearch-ci/1 Build finished.
Details
elasticsearch-ci/2 Build finished.
Details
elasticsearch-ci/default-distro Build finished.
Details
elasticsearch-ci/docbldesx Build finished.
Details
elasticsearch-ci/oss-distro-docs Build finished.
Details
elasticsearch-ci/packaging-sample Build finished.
Details

henningandersen added a commit that referenced this pull request Feb 2, 2019

Ignore obsolete dangling indices (#37824)
Now warn about both left-behind data and metadata for non-data or
non-data and non-master nodes. Disable dangling indices check completely
for coordinating only nodes (non-data and non-master).

Issue #27073
6.x backport of #37347 and #37748 (without failing start up).

@colings86 colings86 added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019

henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Feb 26, 2019

Node repurpose tool
When a node is repurposed to master/no-data or no-master/no-data, v7.x
will not start (see elastic#37748 and elastic#37347). The `elasticsearch repurpose`
tool can fix this by cleaning up the problematic data.

henningandersen added a commit that referenced this pull request Mar 19, 2019

Node repurpose tool (#39403)
When a node is repurposed to master/no-data or no-master/no-data, v7.x
will not start (see #37748 and #37347). The `elasticsearch repurpose`
tool can fix this by cleaning up the problematic data.

henningandersen added a commit that referenced this pull request Mar 19, 2019

Node repurpose tool (#39403)
When a node is repurposed to master/no-data or no-master/no-data, v7.x
will not start (see #37748 and #37347). The `elasticsearch repurpose`
tool can fix this by cleaning up the problematic data.

henningandersen added a commit that referenced this pull request Mar 19, 2019

Node repurpose tool (#39403)
When a node is repurposed to master/no-data or no-master/no-data, v7.x
will not start (see #37748 and #37347). The `elasticsearch repurpose`
tool can fix this by cleaning up the problematic data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.