Skip to content

Emit warnings when index templates have multiple mappings#50982

Merged
romseygeek merged 1 commit intoelastic:7.xfrom
romseygeek:types-removal/7x/template-warnings
Jan 15, 2020
Merged

Emit warnings when index templates have multiple mappings#50982
romseygeek merged 1 commit intoelastic:7.xfrom
romseygeek:types-removal/7x/template-warnings

Conversation

@romseygeek
Copy link
Copy Markdown
Contributor

Index templates created in the 5x line can still be present in the cluster state
through multiple upgrades, and may have more than one mapping defined. 8x
will stop supporting templates with multiple mappings, and we should emit
deprecation warnings in 7x clusters to give users a chance to update their
templates before upgrading.

@romseygeek romseygeek added :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >deprecation v7.6.0 labels Jan 14, 2020
@romseygeek romseygeek self-assigned this Jan 14, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

Copy link
Copy Markdown
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

LGTM

@romseygeek romseygeek merged commit 0257de8 into elastic:7.x Jan 15, 2020
@romseygeek romseygeek deleted the types-removal/7x/template-warnings branch January 15, 2020 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >deprecation v7.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants