-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:StorageEngine/MappingThe storage related side of mappingsThe storage related side of mappings>bugTeam:StorageEngine
Description
Elasticsearch Version
7.10.2
Installed Plugins
No response
Java Version
bundled
OS Version
AWS 7.10.2
Problem Description
After setting a deprecated setting index.mapper.dynamic to false, I am unable to remove the setting and it is preventing me from opening the index:
{ "error" : { "root_cause" : [ { "type" : "exception", "reason" : "Failed to verify index [events-000012/e57doKb8Qe2p-D-fOLUcNw]" } ], "type" : "exception", "reason" : "Failed to verify index [events-000012/e57doKb8Qe2p-D-fOLUcNw]", "caused_by" : { "type" : "illegal_argument_exception", "reason" : "Setting index.mapper.dynamic was removed after version 6.0.0" } }, "status" : 500 }
Steps to Reproduce
- Set index setting
index.mapper.dynamicto false - close the index
- try to open the index
Logs (if relevant)
No response
Workaround
Restore the problematic index from snapshot, passing "ignore_index_settings": "index.mapper.dynamic" to the restore request to filter out the bad setting.
Metadata
Metadata
Assignees
Labels
:StorageEngine/MappingThe storage related side of mappingsThe storage related side of mappings>bugTeam:StorageEngine