Skip to content

[7.x] Throw exception on duplicate mappings metadata fields#57839

Merged
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-57835
Jun 8, 2020
Merged

[7.x] Throw exception on duplicate mappings metadata fields#57839
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-57835

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Jun 8, 2020

This is a backport of #57835.

In #57701 we changed mappings merging so that duplicate fields specified in mappings caused an
exception during validation. This change makes the same exception thrown when metadata fields are
duplicated. This will allow us to be strict currently with plans to make the merging more
fine-grained in a later release.

In elastic#57701 we changed mappings merging so that duplicate fields specified in mappings caused an
exception during validation. This change makes the same exception thrown when metadata fields are
duplicated. This will allow us to be strict currently with plans to make the merging more
fine-grained in a later release.
@dakrone dakrone added :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. backport v7.9.0 labels Jun 8, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jun 8, 2020
@dakrone dakrone merged commit fe2eaf0 into elastic:7.x Jun 8, 2020
@dakrone dakrone deleted the backport/7.x/pr-57835 branch June 8, 2020 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants