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

push: add --force option to force push without .dir optimization #7532

Closed
pmrowla opened this issue Apr 1, 2022 · 1 comment
Closed

push: add --force option to force push without .dir optimization #7532

pmrowla opened this issue Apr 1, 2022 · 1 comment
Labels
A: data-sync Related to dvc get/fetch/import/pull/push feature request Requesting a new feature p2-medium Medium priority, should be done, but less important

Comments

@pmrowla
Copy link
Contributor

pmrowla commented Apr 1, 2022

Hello! First of all I wanted to thank you for how well you always answer, it's really nice and trustworthy.

We have had the same problem, a dvc push of a folder with 41 files, which ended correctly (apparently, because there were no error messages) and yet only 40 files were uploaded.

Doing dvc pull on another server got us the error.

Now there has been no way to force the push where the files are because it only checks that the folder.dvc (f9c8def4b2a1a6b783209d933e26a6.dir) exists on the remote and not the files that are inside the folder.

Is there a way to do dvc push --recursive or maybe dvc push --force it to try to upload the files again?

By the way, we deleted the file f9c8def4b2a1a6b783209d933e26a6.dir from the remote and this time the missing files were uploaded, but now we have the doubt if it has happened to us in other projects.

Originally posted by @atekoa in #4164 (comment)

@pmrowla pmrowla added feature request Requesting a new feature p2-medium Medium priority, should be done, but less important A: data-sync Related to dvc get/fetch/import/pull/push labels Apr 1, 2022
@dberenbaum
Copy link
Collaborator

Duplicate of #7268?

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 feature request Requesting a new feature p2-medium Medium priority, should be done, but less important
Projects
None yet
Development

No branches or pull requests

2 participants