-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[8.0] [UA] - Add warning to accept for reindex #122249
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
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! 👍
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) |
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.
I wonder if this shows no warnings
test shouldn't be also in 7.17
?
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.
Yeah I guess we could have a similar test there, I'll see if I can add it in a subsequent PR!
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @sabarasaba |
* [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)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
* [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>
* [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>
Backports the following commits to 8.0: