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

Deprecate migrations.enableV2 #96398

Merged
merged 4 commits into from
Apr 7, 2021

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Apr 7, 2021

Summary

The Core team is going to remove the migrations.enableV2 setting as soon as migrations v2 are stable. Technically, speaking it's an implementation detail, which is not subject to the compatibility guarantees.

In this PR, I had to create a helper to test deprecations. It might be better to review code commit by commit.

Checklist

Delete any items that are not applicable to this PR.

@mshustov mshustov added release_note:deprecation Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 v7.13.0 labels Apr 7, 2021
@mshustov mshustov requested a review from a team as a code owner April 7, 2021 12:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@mshustov mshustov requested a review from rudolf April 7, 2021 13:02
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov merged commit ba84a71 into elastic:master Apr 7, 2021
@mshustov mshustov added the auto-backport Deprecated - use backport:version if exact versions are needed label Apr 7, 2021
@mshustov mshustov deleted the deprecate-migrations-v2 branch April 7, 2021 14:30
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 7, 2021
* deprecate migrations.enableV2

* provide deprecation test tool from core

* use deprecation test tool in tests

* add a test for SO depreacations
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #96415

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Apr 7, 2021
* deprecate migrations.enableV2

* provide deprecation test tool from core

* use deprecation test tool in tests

* add a test for SO depreacations

Co-authored-by: Mikhail Shustov <[email protected]>
@bhavyarm
Copy link
Contributor

bhavyarm commented May 3, 2021

@mshustov how do I test this please? add the parameter in kibana.yml and see if deprecated logs show up? Thanks!

@mshustov
Copy link
Contributor Author

mshustov commented May 4, 2021

@bhavyarm yes, you should be able to see a warning message in logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:deprecation Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants