-
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
main, 9.x, 8.19
Installed Plugins
No response
Java Version
bundled
OS Version
N/A
Problem Description
It is possible to create an invalid mapping that has defined a passthrough object that is a time series dimension and one of its nested objects is a time series metric.
Reproduction steps
Create an index with the faulty mapping. Instead of receiving a 400, we get a 200.
PUT my-index-2
{
"mappings": {
"properties": {
"attributes": {
"type": "passthrough",
"time_series_dimension": true,
"priority": 20,
"properties": {
"attributes.kube_job_status_active": {
"type": "double",
"time_series_metric": "gauge"
}
}
}
}
}
}
Unexpected response:
{
"acknowledged": true,
"shards_acknowledged": false,
"index": "my-index-2"
}
Impact
The index needs to be deleted asap.
Metadata
Metadata
Assignees
Labels
:StorageEngine/MappingThe storage related side of mappingsThe storage related side of mappings>bugTeam:StorageEngine