Skip to content

Conversation

@isidentical
Copy link
Contributor

Beside the server-side errors like timeouts, also retry stuff that is happening on the client (e.g internet connection drop for a second).

@isidentical isidentical added the fs: http Related to the HTTP filesystem label Oct 2, 2021
@isidentical isidentical requested a review from efiop October 2, 2021 17:13
@isidentical isidentical self-assigned this Oct 2, 2021
@isidentical isidentical requested a review from a team as a code owner October 2, 2021 17:13
@isidentical
Copy link
Contributor Author

Something I noticed while trying the dvc get example. Not sure if there is an easy way to imitate this on the tests, so not adding something for now.

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

Nice catch! 🔥

@efiop efiop merged commit e53d390 into treeverse:master Oct 2, 2021
@efiop efiop added the enhancement Enhances DVC label Oct 2, 2021
@skshetry
Copy link
Collaborator

skshetry commented Oct 3, 2021

How does this work for put_file? We should not be retrying on PUT/POST, as it is not idempotent.

Also what happens during fs.open, if it times out in the middle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhances DVC fs: http Related to the HTTP filesystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants