Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingest pipeline _simulate request with empty docs array never returns a response #52833

Closed
dolaru opened this issue Feb 26, 2020 · 2 comments
Closed
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP

Comments

@dolaru
Copy link
Member

dolaru commented Feb 26, 2020

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:

  1. Send POST _ingest/pipeline/_simulate with the following payload:
{
  "pipeline": {
    "processors": []
  },
  "docs": []
}
  1. Notice that a response is never returned.
@dolaru dolaru added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Feb 26, 2020
@elasticmachine
Copy link
Collaborator

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

@dolaru dolaru changed the title Ingest pipeline _simulate with empty docs array times out and returns 500 Ingest pipeline _simulate request with empty docs array never returns a response Feb 26, 2020
@danhermann
Copy link
Contributor

Fixed by #52937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP
Projects
None yet
Development

No branches or pull requests

3 participants