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

fs: http: do not timeout on sock_read #117

Merged
merged 1 commit into from
Aug 5, 2022
Merged

fs: http: do not timeout on sock_read #117

merged 1 commit into from
Aug 5, 2022

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Aug 5, 2022

We have been getting reports that the timeout on sock_read was raising
timeout error even for chunked uploads, and sometimes even uploading
zero-byte files.

See: iterative/dvc-http#27
and iterative/dvc#8100.

These kinds of logic don't belong here and should be upstreamed (eg: RetryClient/ClientTimeout, etc).
We added timeout in iterative/dvc#7460 because of freezes in
iterative/dvc#7414.

I think we can rollback this for now given that there are lots of report of failures/issues with this line,
and if we get any new reports of hangs, we'll investigate it separately.

We have been getting reports that the timeout on sock_read was raising
timeout error even for chunked uploads, and sometimes even uploading
zero-byte files.

See: https://github.com/iterative/dvc/issues/8065
and iterative/dvc#8100.

These kinds of logics don't belong here, and should be upstreamed (eg: RetryClient/ClientTimeout, etc).
We added timeout in iterative/dvc#7460 because of freezes in
iterative/dvc#7414.

I think we can rollback this for now given that there are lots of report of failures/issues with this line,
and if we get any new reports of hangs, we'll investigate it separately.
@skshetry skshetry requested review from efiop and dtrifiro August 5, 2022 17:05
@skshetry skshetry self-assigned this Aug 5, 2022
@efiop efiop merged commit 89718eb into main Aug 5, 2022
@skshetry skshetry deleted the remove-timeout branch August 5, 2022 17:43
@shcheklein
Copy link
Member

Thanks for the fix @skshetry , but should we prioritize a proper fix for this? (we had reports of processes hanging, right?) + from my experience before- it's super annoying on the server side when it hangs and there is no way to control it.

@dtrifiro
Copy link
Contributor

Note: this was reverted in iterative/dvc-http#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants