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

Enable actor message handlers to fail immediately #471

Merged
merged 2 commits into from
Apr 18, 2018

Conversation

danielmitterdorfer
Copy link
Member

With this commit we add a no_retry decorator that is meant to be used
on actor message handlers. The actor framework (Thespian) will retry
failed messages once after a failure and then give up. However, we don't
want that behavior: Instead our actors should fail immediately in most
cases and propagate a BenchmarkFailure to its parent.

With this commit we add a `no_retry` decorator that is meant to be used
on actor message handlers. The actor framework (Thespian) will retry
failed messages once after a failure and then give up. However, we don't
want that behavior: Instead our actors should fail immediately in most
cases and propagate a `BenchmarkFailure` to its parent.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :misc Changes that don't affect users directly: linter fixes, test improvements, etc. labels Apr 18, 2018
@danielmitterdorfer danielmitterdorfer added this to the 0.10.1 milestone Apr 18, 2018
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM

@danielmitterdorfer danielmitterdorfer merged commit 93da024 into elastic:master Apr 18, 2018
@danielmitterdorfer danielmitterdorfer deleted the actor-no-retry branch April 20, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :misc Changes that don't affect users directly: linter fixes, test improvements, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants