Public bug reported:

Proxy on behalf of Sulochan Acharya ( sulochan.acha...@rackspace.co.uk
):-

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 ?

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1285257

Title:
  glance-cache-pruner does not account incomplete dir when checking for
  cache size to prune

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Proxy on behalf of Sulochan Acharya ( sulochan.acha...@rackspace.co.uk
  ):-

  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 ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1285257/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to