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

Fix: Use correct OpType on Failure in BulkItemResponse #12060

Merged
merged 1 commit into from Jul 7, 2015

Conversation

cbuescher
Copy link
Member

When a bulk request fails on a Delete or Update request, the BulkItemResponse
reports incorrect "index" operation in the response. This PR fixes this
for the case of closed indices as reported in #9821 but also for
other failures and adds tests for the two cases covered.

Closes #9821

When a bulk request fails on a Delete or Update request, the BulkItemResponse
reports incorrect "index" operation in the response. This PR fixes this
for the case of closed indices as reported in elastic#9821 but also for
other failures and adds tests for the two cases covered.

Closes elastic#9821
@s1monw
Copy link
Contributor

s1monw commented Jul 6, 2015

LGTM

cbuescher added a commit that referenced this pull request Jul 7, 2015
Fix: Use correct OpType on Failure in BulkItemResponse
@cbuescher cbuescher merged commit 35ddc74 into elastic:master Jul 7, 2015
@kevinkluge kevinkluge removed the review label Jul 7, 2015
@cbuescher cbuescher deleted the fix/9821 branch March 11, 2016 11:51
@lcawl 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
>bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong type for bulk updates and deletes on closed index
4 participants