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

Require manifest file for upgrades to v8 #52412

Conversation

DaveCTurner
Copy link
Contributor

7.x nodes permit the on-disk cluster metadata to omit the manifest file in
order to support upgrades from 6.x. We are similarly lenient in master, i.e.
8.x, but there is no need to be since we must be upgrading from a 7.x node
which ensures that the manifest file is written.

This commit removes the lenient loading of a manifest-free cluster metadata
from master.

Relates #38556

7.x nodes permit the on-disk cluster metadata to omit the manifest file in
order to support upgrades from 6.x. We are similarly lenient in `master`, i.e.
8.x, but there is no need to be since we must be upgrading from a 7.x node
which ensures that the manifest file is written.

This commit removes the lenient loading of a manifest-free cluster metadata
from `master`.

Relates elastic#38556
@DaveCTurner DaveCTurner added >non-issue :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.0.0 labels Feb 17, 2020
@DaveCTurner DaveCTurner requested a review from ywelsch February 17, 2020 13:53
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Cluster Coordination)

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should leave the logic untouched. There's no good reason to make this change in 8, with the default storage mechanism having changed anyway. Instead I would just remove the assertion.

DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Feb 21, 2020
7.x nodes permit the on-disk cluster metadata to omit the manifest file in
order to support upgrades from 6.x. We are similarly lenient in `master`, i.e.
8.x, but there is no need to be since we must be upgrading from a 7.x node
which ensures that the manifest file is written.

We prefer to keep this lenience (see elastic#52412) so this commit removes the
commented-out indications that it should be removed. The new metadata format
introduced in elastic#50907 means that this whole subsystem will be removed in v9
anyway.

Relates elastic#38556
@DaveCTurner
Copy link
Contributor Author

DaveCTurner commented Feb 21, 2020

Very well, closing in favour of #52646

DaveCTurner added a commit that referenced this pull request Feb 21, 2020
7.x nodes permit the on-disk cluster metadata to omit the manifest file in
order to support upgrades from 6.x. We are similarly lenient in `master`, i.e.
8.x, but there is no need to be since we must be upgrading from a 7.x node
which ensures that the manifest file is written.

We prefer to keep this lenience (see #52412) so this commit removes the
commented-out indications that it should be removed. The new metadata format
introduced in #50907 means that this whole subsystem will be removed in v9
anyway.

Relates #38556
@DaveCTurner DaveCTurner deleted the 2020-02-17-require-manifest-in-v8 branch July 23, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants