Skip to content

Conversation

@gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Feb 22, 2022

Backport

This will backport the following commits from master to 8.1:

Questions ?

Please refer to the Backport tool documentation

…tic#84192)

This PR properly registers `NamedXContentRegistry` entries for `SystemIndexMigrationTaskParams` and `SystemIndexMigrationTaskState`. It also adds tests for the XContent de/serialization for those classes,
and fixes a bug revealed by these tests in `SystemIndexMigrationTaskState`'s parser.

Finally, it adds an integration test which simulates the conditions in which elastic#84115 occurs: A node restart
while the migration is in progress. This ensures that we have fixed that particular bug.

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: Gordon Brown <gordon.brown@elastic.co>
(cherry picked from commit 4c3b7b1)
@gwbrown
Copy link
Contributor Author

gwbrown commented Feb 23, 2022

Failure appears to be #84156.

@elasticmachine run elasticsearch-ci/part-2

@gwbrown gwbrown merged commit fe4c74a into elastic:8.1 Feb 23, 2022
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.

3 participants