Cancelling a kit pull
with ctrl+c leaves partially downloaded layers in storage
#387
Labels
bug
Something isn't working
Describe the bug
Kit saves partially-downloaded layers to an
ingest
directory, and moves them into actual storage when the upload is completed. However, it does not clean these files up if the download is killed unexpectedly (e.g. viactrl-C
), leaving those files to consume storage space.To Reproduce
ctrl+C
<kitops-home>/storage/<repo>/ingest
to see partially downloaded tmp files.It's not clear when these files are cleaned up, and in my testing, even a
kit remove -a -f
will not remove them.Version
nightly
Additional context
Related to #311 -- these files could be used to resume downloads.
The text was updated successfully, but these errors were encountered: