-
Notifications
You must be signed in to change notification settings - Fork 881
image gc improvement #3772
Comments
I'll prepare a PR in short time anyway. |
…ration is unable to process whole image tree
Continue should be used instead of break. Otherwise when running image has been found the loop will stop and doesn't traverse whole image tree. |
It's possible the original behavior you saw was due to the "grace period"? Would That doesn't handle th
8000
e idea of leaving the most recent of duplicate images, and maybe there would be some value for Based on the above, does setting an appropriate grace period accomplish what you wanted, or would you still like to propose an additional feature allowing |
@euank, no. I have tested it by setting grace-period=0. According to the breakpoints which i set it exited the loop after this block and never processed the rest of the stack: |
…ration is unable to process whole image tree
What's the status of this issue? We're experiencing the same probleim in rkt 1.28.1. |
This is pending #3778 We could merge the fix now and do the test later (creating an issue so we don't forget). What do you think, @sanicheev? |
@iaguis, sorry for a long response. Yes i think so. I'll try to fix tests scenario this weekend. Hope will find some time for this. Can you assign a newly created issue on me? |
bump |
I submitted a PR with @sanicheev's commit only #3858 I created an issue to track the missing test: #3859 |
Fixed via #3858 |
Thank you for fixing this. When will there be a release including the fix? |
Currently i'm in a situation when i have several rkt images stored on disk with the same name. It can be that i will have 10,15 rkt images which consume disk space and gc operations will not clean them.
That's why i would like to consult if this situation it expected?
Because i would like to improve image gc operation that it will store only N images with the same name and prepare pull request.
So the question is this feature should be implemented or am i doing something wrong?
The text was updated successfully, but these errors were encountered: