Skip to content

Handling index templates with multiple mapping types #53018

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

Closed
romseygeek opened this issue Mar 2, 2020 · 3 comments
Closed

Handling index templates with multiple mapping types #53018

romseygeek opened this issue Mar 2, 2020 · 3 comments
Assignees
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.1.0

Comments

@romseygeek
Copy link
Contributor

It has been impossible to add a new index template with multiple mapping types since version 6.0, and creating an index that matches an index template containing multiple mapping types has failed with an error since 7.0. However, because index templates are preserved over rolling upgrades, it is still possible to have a cluster state that contains such a template. In 8.0, with types being removed entirely, it will not be possible to preserve these.

Since #50982 we have emitted warnings on startup when a node finds an index template with multiple mappings. A node running elasticsearch 8.0 or higher should refuse to join a cluster that contains one of these templates.

@romseygeek romseygeek added :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.0.0 labels Mar 2, 2020
@romseygeek romseygeek self-assigned this Mar 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/CRUD)

@jpountz jpountz mentioned this issue Mar 11, 2020
66 tasks
@rjernst rjernst added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label May 4, 2020
@alisonelizabeth
Copy link
Contributor

If possible, could we add a deprecation message around this to the deprecation info API (related code)? That way, we could easily surface the message to users in Upgrade Assistant.

@arteam arteam added v8.1.0 and removed v8.0.0 labels Jan 12, 2022
@romseygeek
Copy link
Contributor Author

This is handled by a deprecation check, added in #72540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.1.0
Projects
None yet
Development

No branches or pull requests

5 participants