Index settings are incorrectly set to null
when the setting is set by an index template
#86786
Labels
>bug
:Data Management/Indices APIs
APIs to create and manage indices and templates
Team:Data Management
Meta label for data/management team
Elasticsearch Version
7.17.3
Installed Plugins
No response
Java Version
bundled
OS Version
Deployment in ESS
Problem Description
Index settings are incorrectly set to
null
when the setting is set by an index template.Take the below situation (observed in the field). While this may not be logical, we should provide better resilience or safety to avoid this kind of situation.
An index
myindex
is created (e.gPUT myindex
).Checking the index settings of
myindex
(GET myindex/_settings
), we observe thatindex.routing.allocation.require
is set tonull
Steps to Reproduce
As described above. This also happens in version 8.2.0 as well.
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: