-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Remove obsolete Metadata BWC for repositories #129685
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
Remove obsolete Metadata BWC for repositories #129685
Conversation
When migrating RepositoriesMetadata from cluster custom to project custom, we needed temporary BWC handling for clusters running on a version that is before this change but after the initial MP change. Such a cluster can only exist in the serverless environment which has progressed way past any applicable versions. Therefore we no longer need the BWC handling and this PR removes it. Relates: elastic#125398
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
As commented on the original PR (#125398 (comment)), most of the wire BWC handling becomes dead code now that Serverless has rolled past the applicable version ranges. I think it is better to remove them now and avoid ever releasing them for Stateful. It's not strictly necessary, but feels nice to do so. |
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.
Change to this file is mostly reverting the changes in #125398. It's not an actual revert because a small number of xcontent changes are still needed.
…ata-bwc-for-repositories
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.
LGTM
@elasticmachine update branch |
@elasticmachine update branch |
When migrating RepositoriesMetadata from cluster custom to project custom (#125398), we needed temporary BWC handling for clusters running on a version that is before this change but after the initial MP change. Such a cluster can only exist in the serverless environment which has progressed way past any applicable versions. Therefore we no longer need the BWC handling and this PR removes it.
Relates: #125398