-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Closed
Copy link
Labels
:Data Management/Ingest NodeExecution or management of Ingest Pipelines including GeoIPExecution or management of Ingest Pipelines including GeoIP>bug
Description
Elasticsearch version (bin/elasticsearch --version
): 7.6.0
Description of the problem including expected versus actual behavior:
When sending an ingest pipeline _simulate
request, If the value of docs
is an empty array, a response is never returned.
I would've expected the request to either immediately fail and ask for the docs
array to have at least 1 document, or have the request succeed and return:
{
"docs" : []
}
Steps to reproduce:
- Send
POST _ingest/pipeline/_simulate
with the following payload:
{
"pipeline": {
"processors": []
},
"docs": []
}
- Notice that a response is never returned.
Metadata
Metadata
Assignees
Labels
:Data Management/Ingest NodeExecution or management of Ingest Pipelines including GeoIPExecution or management of Ingest Pipelines including GeoIP>bug
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
elasticmachine commentedon Feb 26, 2020
Pinging @elastic/es-core-features (:Core/Features/Ingest)
[-]Ingest pipeline _simulate with empty docs array times out and returns 500[/-][+]Ingest pipeline _simulate request with empty docs array never returns a response[/+]danhermann commentedon Mar 11, 2020
Fixed by #52937