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

Remove Migration Upgrade and Assistance APIs #40075

Merged
merged 6 commits into from
Mar 15, 2019

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Mar 14, 2019

The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.

These APIs are deprecated in 6.7 and this commit removes them.

Follow-up to to #40072
Relates to #40014

gwbrown added 2 commits March 14, 2019 16:50
The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.

These APIs are deprecated in 6.7 and this commit removes them.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@gwbrown gwbrown requested a review from jakelandis March 14, 2019 23:25
@gwbrown gwbrown changed the title Remove migration apis Remove Migration Upgrade and Assistance APIs Mar 14, 2019
Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

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

LGTM

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 15, 2019

@jakelandis could you also take a look at the changes in 4a8b69f as I had to modify a couple BWC tests? The changes basically just make the test fail if the index needs to be upgraded, which should not happen at any point going 6->7->8 unless we make a change that would make reinstating the Upgrade API necessary.

@jakelandis
Copy link
Contributor

Still LGTM

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 15, 2019

I opened #40116 about the CI failure, which does not appear to be related to the changes here.

@elasticmachine run elasticsearch-ci/2

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 15, 2019

Thanks for the second review @jakelandis!

@gwbrown gwbrown merged commit df11ba8 into elastic:master Mar 15, 2019
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Mar 15, 2019
The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Mar 15, 2019
The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Mar 16, 2019
…te-size-hard-failure

* elastic/master:
  use shell with JAVA_HOME for starting archive (elastic#40118)
  Remove Migration Upgrade and Assistance APIs (elastic#40075)
  Revert "Fix IndexSearcherWrapper visibility (elastic#39071)"
  Remove transport name from tcp channel (elastic#40074)
  Document the limitation around field aliases and percolator. (elastic#40073)
  SQL: Refactor Literals serialization method (elastic#40058)
gwbrown added a commit that referenced this pull request Mar 18, 2019
The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.
gwbrown added a commit that referenced this pull request Mar 18, 2019
The Migration Assistance API has been functionally replaced by the
Deprecation Info API, and the Migration Upgrade API is not used for the
transition from ES 6.x to 7.x, and does not need to be kept around to
repair indices that were not properly upgraded before upgrading the
cluster, as was the case in 6.
@lcawl lcawl mentioned this pull request Apr 9, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this pull request Jun 20, 2019
Mpdreamz pushed a commit to elastic/elasticsearch-net that referenced this pull request Jun 20, 2019
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Sep 17, 2020
These actions were almost completely removed in elastic#40075 but a couple of
classes were left in place. This commit completes their removal.
DaveCTurner added a commit that referenced this pull request Sep 18, 2020
These actions were almost completely removed in #40075 but a couple of
classes were left in place. This commit completes their removal.
DaveCTurner added a commit that referenced this pull request Sep 18, 2020
These actions were almost completely removed in #40075 but a couple of
classes were left in place. This commit completes their removal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants