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 ActionListener.map exception handling (#50886) #51642

Merged

Conversation

henningandersen
Copy link
Contributor

ActionListener.map would call listener.onFailure for exceptions from
listener.onResponse, but this means we could double trigger some
listeners which is generally unexpected. Instead, we should assume that
a listener's onResponse (and onFailure) implementation is responsible
for its own exception handling.

ActionListener.map would call listener.onFailure for exceptions from
listener.onResponse, but this means we could double trigger some
listeners which is generally unexpected. Instead, we should assume that
a listener's onResponse (and onFailure) implementation is responsible
for its own exception handling.
@henningandersen henningandersen added >bug :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. backport v7.7.0 labels Jan 29, 2020
@elasticmachine
Copy link
Collaborator

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

@henningandersen henningandersen merged commit 2e8a2c4 into elastic:7.x Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >bug :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants