Skip to content

Ensure system index doc types are migrated to _doc#80054

Merged
AthenaEryma merged 1 commit intoelastic:7.16from
AthenaEryma:si/migration/fix-mapping-copy
Nov 3, 2021
Merged

Ensure system index doc types are migrated to _doc#80054
AthenaEryma merged 1 commit intoelastic:7.16from
AthenaEryma:si/migration/fix-mapping-copy

Conversation

@AthenaEryma
Copy link
Copy Markdown
Contributor

@AthenaEryma AthenaEryma commented Oct 28, 2021

This PR ensures that mapping types for unmanaged indices are properly
converted to use the standard _doc type if the old index is using
another type name, and modifies the test cases to ensure this situation
is tested.

Note that this PR is aimed at 7.16 only, as the issue it addresses is not
relevant for indices created after 7.0.0.

Fixes #79681

This PR ensures that mapping types for unmanaged indices are properly
converted to use the standard `_doc` type if the old index is using
another type name, and modifies the test cases to ensure this situation
is tested.
@AthenaEryma AthenaEryma added >non-issue :Core/Infra/Core Core issues without another label v7.16.1 labels Oct 28, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Oct 28, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Copy Markdown
Contributor

@williamrandolph williamrandolph left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants