Skip to content

Handling index templates with multiple mapping types #53018

Closed
@romseygeek

Description

@romseygeek

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.

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CRUDA 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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions