glance-cache-pruner does not account incomplete dir when checking for cache size to prune
Bug #1285257 reported by
Nikhil Komawar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Nikhil Komawar |
Bug Description
Proxy on behalf of Sulochan Acharya ( <email address hidden> ):-
Taking in to account incomplete dir when the pruner is run will create a case where if we delete old images taking the new incomplete image in account, and the new incomplete image fails, then we basically (wastefully ?) deleted cached image for something that failed. This is not really good. But if the image goes though then we will end up deleting those cache anyway, so i guess it a give and take scenario. And we gain by deleting taking incomplete into account, so that the disk does not get full.
Any thoughts ?
Changed in glance: | |
assignee: | nobody → nikhil komawar (nikhil-komawar) |
Changed in glance: | |
assignee: | nikhil komawar (nikhil-komawar) → nobody |
assignee: | nobody → nikhil komawar (nikhil-komawar) |
To post a comment you must log in.