Skip to content

Split reindex and update by query failures exposed on the REST interface #17539

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

Open
Mpdreamz opened this issue Apr 5, 2016 · 3 comments
Open
Labels
>breaking :Distributed Indexing/Reindex Issues relating to reindex that are not caused by issues further down >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

Comments

@Mpdreamz
Copy link
Member

Mpdreamz commented Apr 5, 2016

Right now we expose BulkItemResponse.Failure and ShardSearchFailures under a single failures property but these classes are of different shapes.

e.g one of the failures writes the throwable as cause the other as reason.

It would be nice if we can expose them under index_failures and search_failures, the way they are stored on the BulkIndexByScrollResponse.

Or come up with a single BulkIndexByScrollResponse.Failure

I am wondering what the development guidelines/best practices are for exposing failures? We have quite a few Failure inner classes that do not relate to one another?

cc @nik9000

@nik9000
Copy link
Member

nik9000 commented Apr 5, 2016

I think we'd be better off standardizing on things like cause and reason. Then indexing failure would look "just like" a search failure with some extra data about the indexing operation that failed.

@lcawl lcawl added v6.0.1 and removed v6.0.0 labels Nov 13, 2017
@lcawl lcawl added v6.0.2 and removed v6.0.1 labels Dec 6, 2017
@jaymode jaymode added v6.0.3 and removed v6.0.2 labels Dec 13, 2017
@lcawl lcawl added :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. and removed :Reindex API labels Feb 13, 2018
@dakrone dakrone removed the v6.0.3 label Mar 20, 2018
@nik9000 nik9000 removed their assignment Sep 23, 2018
@henningandersen henningandersen added the :Distributed Indexing/Reindex Issues relating to reindex that are not caused by issues further down label Apr 12, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@henningandersen henningandersen removed the :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. label Apr 12, 2019
@rjernst rjernst added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label May 4, 2020
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Distributed Indexing/Reindex Issues relating to reindex that are not caused by issues further down >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Projects
None yet
Development

No branches or pull requests