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

Aborted sgr clone --download-all causes future clones to redownload all objects #543

Open
mildbyte opened this issue Sep 29, 2021 · 0 comments

Comments

@mildbyte
Copy link
Contributor

Repro:

  • try cloning a big repo with --download-all (e.g. splitgraph/socrata) -- fails because of no space in cache
  • try cloning just the :latest (sgr clone splitgraph/socrata:latest --download-all), fails with weird object size accounting:
Gathering remote metadata...
No image/object metadata to pull.
Need to download 1 object (34.53 GiB), cache occupancy: 1.99 MiB/10.00 GiB
error: splitgraph.exceptions.ObjectCacheError: Not enough space in the cache to download the required objects!

Deleting the offending repo locally + sgr cleanup fixes it

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

No branches or pull requests

1 participant