-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
_bulk request with action.auto_create_index
configured doesn't return the right bulk response
#24028
Labels
:Distributed/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>regression
v5.4.0
v6.0.0-alpha1
Comments
ph
changed the title
_bulk request with
_bulk request with Apr 10, 2017
action.auto_create_index
doesn't return the right bulk responseaction.auto_create_index
configured doesn't return the right bulk response
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this issue
Apr 11, 2017
Before elastic#22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In elastic#22488 we accidentally cahnged it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes elastic#24028
nik9000
added a commit
that referenced
this issue
Apr 21, 2017
Before #22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In #22488 we accidentally changed it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes #24028
nik9000
added a commit
that referenced
this issue
Apr 22, 2017
Before #22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In #22488 we accidentally changed it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes #24028
nik9000
added a commit
that referenced
this issue
Apr 22, 2017
Before #22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In #22488 we accidentally changed it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes #24028
nik9000
added a commit
that referenced
this issue
Apr 22, 2017
Before #22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In #22488 we accidentally changed it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes #24028
asettouf
pushed a commit
to asettouf/elasticsearch
that referenced
this issue
Apr 23, 2017
Before elastic#22488 when an index couldn't be created during a `_bulk` operation we'd do all the *other* actions and return the index creation error on each failing action. In elastic#22488 we accidentally changed it so that we now reject the entire bulk request if a single action cannot create an index that it must create to run. This gets reverts to the old behavior while still keeping the nicer error messages. Instead of failing the entire request we now only fail the portions of the request that can't work because the index doesn't exist. Closes elastic#24028
lcawl
added
:Distributed/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
and removed
:Bulk
labels
Feb 13, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>regression
v5.4.0
v6.0.0-alpha1
Elasticsearch version: 5.3.0
Description of the problem including expected versus actual behavior:
When whitelisting index name using the
action.auto_create_index
and sending a bulk request to ES with a forbidden index name doesn't return the expected bulk response.The response is missing a items fields, allowing us to check if each document succeeded or not
more details at logstash-plugins/logstash-output-elasticsearch#584
Steps to reproduce:
Tested in 5.1.2 returns a correct response:
bulk
Request
Response:
The text was updated successfully, but these errors were encountered: