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

Don't change scheduler on failed requests #1117

Conversation

danielmitterdorfer
Copy link
Member

With this commit we check whether a request has a non-zero weight before
attempting to calculate a target throughput. This ensures that
throughput is only calculated / adjusted if the request has returned
successfully and we're able to derive a throughput.

With this commit we check whether a request has a non-zero weight before
attempting to calculate a target throughput. This ensures that
throughput is only calculated / adjusted if the request has returned
successfully and we're able to derive a throughput.
@danielmitterdorfer danielmitterdorfer added bug Something's wrong :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc. labels Nov 19, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.3 milestone Nov 19, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Nov 19, 2020
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 thanks!

@danielmitterdorfer danielmitterdorfer merged commit 9f86c76 into elastic:master Nov 19, 2020
@danielmitterdorfer danielmitterdorfer deleted the throttle-successful-requests branch November 19, 2020 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants