-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Require manifest file for upgrades to v8 #52412
Conversation
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
Pinging @elastic/es-distributed (:Distributed/Cluster Coordination) |
There was a problem hiding this 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.
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
Very well, closing in favour of #52646 |
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
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