Skip to content

Remove TODOs from MetaStateService#52646

Merged
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2020-02-21-remove-v7-assertions
Feb 21, 2020
Merged

Remove TODOs from MetaStateService#52646
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2020-02-21-remove-v7-assertions

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

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.

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 DaveCTurner added >non-issue :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.0.0 labels Feb 21, 2020
@DaveCTurner DaveCTurner requested a review from ywelsch February 21, 2020 15:17
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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.

LGTM

@DaveCTurner DaveCTurner merged commit c276f6d into elastic:master Feb 21, 2020
@DaveCTurner DaveCTurner deleted the 2020-02-21-remove-v7-assertions branch February 21, 2020 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/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