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

[8.0] [UA] - Add warning to accept for reindex #122249

Merged

Conversation

sabarasaba
Copy link
Member

Backports the following commits to 8.0:

@sabarasaba sabarasaba added backport v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more auto-backport Deprecated - use backport:version if exact versions are needed v8.1.0 labels Jan 4, 2022
@sabarasaba sabarasaba self-assigned this Jan 4, 2022
@sabarasaba sabarasaba marked this pull request as ready for review January 6, 2022 10:43
@sabarasaba sabarasaba requested a review from a team as a code owner January 6, 2022 10:43
@sabarasaba
Copy link
Member Author

@elasticmachine merge upstream

@sabarasaba sabarasaba requested a review from yuliacech January 7, 2022 07:51
@sabarasaba
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

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

LGTM! 👍
Just left a comment about a test that seems to be missing in 7.17 and could also exist there.

@@ -123,7 +123,10 @@ export default function ({ getService }) {

it('shows no warnings', async () => {
const resp = await supertest.get(`/api/upgrade_assistant/reindex/7.0-data`);
expect(resp.body.warnings.length).to.be(0);
// By default all reindexing operations will replace an index with an alias (with the same name)
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this shows no warnings test shouldn't be also in 7.17?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I guess we could have a similar test there, I'll see if I can add it in a subsequent PR!

@sabarasaba
Copy link
Member Author

@elasticmachine merge upstream

@sabarasaba
Copy link
Member Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
upgradeAssistant 162.7KB 166.5KB +3.8KB
Unknown metric groups

ESLint disabled line counts

id before after diff
upgradeAssistant 12 11 -1

Total ESLint disabled count

id before after diff
upgradeAssistant 12 11 -1

History

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

cc @sabarasaba

@sabarasaba sabarasaba merged commit d0cf489 into elastic:main Jan 11, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 11, 2022
* [UA] Inform user about changes to reindexed data

* commit using @elastic.co

* Fix linter issues

* Fix integration test

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d0cf489)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

sabarasaba added a commit to sabarasaba/kibana that referenced this pull request Jan 11, 2022
* [UA] Inform user about changes to reindexed data

* commit using @elastic.co

* Fix linter issues

* Fix integration test

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
sabarasaba added a commit that referenced this pull request Jan 11, 2022
* [8.0] [UA] - Add warning to accept for reindex (#122249)

* [UA] Inform user about changes to reindexed data

* commit using @elastic.co

* Fix linter issues

* Fix integration test

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix linter issue

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
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 backport Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants