-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DVC can not push large file to OSS anymore once the uploading has been interrupted #10644
Labels
A: data-sync
Related to dvc get/fetch/import/pull/push
fs: oss
Related to the Alibaba Cloud OSS filesystem
Comments
CNLHC
changed the title
DVC can not push large file to OSS if uploading has interrupted
DVC can not push large file to OSS anymore once the uploading has been interrupted
Dec 5, 2024
Can you share the verbose traceback, please? Add |
Sure, here are the detail log.
|
shcheklein
added
fs: oss
Related to the Alibaba Cloud OSS filesystem
A: data-sync
Related to dvc get/fetch/import/pull/push
labels
Dec 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A: data-sync
Related to dvc get/fetch/import/pull/push
fs: oss
Related to the Alibaba Cloud OSS filesystem
Bug Report
Description
Currently dvc can not upload large file to oss, after applying fix described in #10643,
dvc
still suffer from a subtle bug: if the uploading process is interrupted, then it can not been upload again.Reproduce
the error message of last push will contain
Expected
dvc
should push file to remote, either by recovering from the local state or pruning local state and then launch another new uploading session.Environment information
same env to #10643
with patch applied.
Additional Information (if any):
A quick fix to this issue is deleting the uploading store
This directory is created by the
oss2
.The root cause is this line https://github.com/karajan1001/aiooss2/blob/875a06b99881df6fe900b1fed29e3a91dec12a7f/src/aiooss2/resumable.py#L339
aiooss2 pass an
AioBucket
to theoss2
and the later one does not invoke await properly.The text was updated successfully, but these errors were encountered: