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

Handle failure in TransportUpdateAction#handleUpdateFailureWithRetry #97290

Conversation

DaveCTurner
Copy link
Contributor

Here executor(request.getShardId()) may throw, but we're already
handling a failure so we cannot simply let this exception bubble up.
This commit adjusts things to catch the exception, using it to fail the
listener.

Closes #97286

Here `executor(request.getShardId())` may throw, but we're already
handling a failure so we cannot simply let this exception bubble up.
This commit adjusts things to catch the exception, using it to fail the
listener.

Closes elastic#97286
@DaveCTurner DaveCTurner added >bug :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.10.0 v8.9.1 v7.17.12 labels Jun 30, 2023
@DaveCTurner
Copy link
Contributor Author

Opened #97291 for an unrelated test failure; @elasticmachine please run elasticsearch-ci/part-1

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team (obsolete) label Jul 3, 2023
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @DaveCTurner, I've created a changelog YAML for you.

Copy link
Contributor

@kingherc kingherc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I see you put older versions. Maybe you'd consider putting also the auto-backport-and-merge label before merging.

@kingherc kingherc self-assigned this Jul 3, 2023
@kingherc kingherc merged commit 5d91460 into elastic:main Jul 3, 2023
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Jul 3, 2023
…lastic#97290)

Here executor(request.getShardId()) may throw, but we're already handling a failure so we cannot simply let this exception bubble up. This commit adjusts things to catch the exception, using it to fail the listener.

Closes elastic#97286
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Jul 3, 2023
…lastic#97290)

Here executor(request.getShardId()) may throw, but we're already handling a failure so we cannot simply let this exception bubble up. This commit adjusts things to catch the exception, using it to fail the listener.

Closes elastic#97286
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.9
7.17

elasticsearchmachine pushed a commit that referenced this pull request Jul 3, 2023
…97290) (#97325)

Here executor(request.getShardId()) may throw, but we're already handling a failure so we cannot simply let this exception bubble up. This commit adjusts things to catch the exception, using it to fail the listener.

Closes #97286
elasticsearchmachine pushed a commit that referenced this pull request Jul 3, 2023
…hRetry (#97290) (#97326)

* Handle failure in TransportUpdateAction#handleUpdateFailureWithRetry (#97290)

Here executor(request.getShardId()) may throw, but we're already handling a failure so we cannot simply let this exception bubble up. This commit adjusts things to catch the exception, using it to fail the listener.

Closes #97286

* Fix

---------

Co-authored-by: Iraklis Psaroudakis <kingherc@gmail.com>
@rjernst rjernst added v8.9.0 and removed v8.9.1 labels Jul 8, 2023
@DaveCTurner DaveCTurner deleted the 2023/06/30/TransportUpdateAction-handleUpdateFailureWithRetry-failure branch July 16, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed Meta label for distributed team (obsolete) v7.17.12 v8.9.0 v8.10.0
Projects
None yet
4 participants