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

Retry incomplete HTTP downloads #1521

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Jun 16, 2022

Currently when we did not download enough data, we just abort the
benchmark. Instead, let's ask urllib3 to retry it per our retry policy.

This does not change the existing Rally logic around Content-Length as
it's possible to specify the expected length and I don't want this fix
to change other behavior.

Closes #1504 (it was a good first issue but we hit this a lot recently)

Currently when did not download enough data, we just abort the
benchmark. Instead, ask urllib3 to retry it per our retry policy.

This does not change the existing Rally logic around Content-Length as
it's possible to specify the expected length and I don't want this fix
to change other behavior.
@pquentin pquentin added bug Something's wrong :Usability Makes Rally easier to use labels Jun 16, 2022
@pquentin pquentin added this to the 2.5.0 milestone Jun 16, 2022
@pquentin pquentin self-assigned this Jun 16, 2022
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!

@pquentin pquentin merged commit 22eac6a into elastic:master Jun 16, 2022
@pquentin pquentin deleted the enforce-content-length branch June 16, 2022 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Usability Makes Rally easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retry incomplete HTTP downloads
2 participants