← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1092188] Re: Need mechanism too cleanup deleted image rows from the database

 

** Changed in: glance
   Importance: Undecided => Wishlist

** Changed in: glance
       Status: In Progress => Opinion

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

Title:
  Need mechanism too cleanup deleted image rows from the database

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

Bug description:
  When images are deleted and subsequently scrubbed (i.e. the status of the image is "deleted")    the database records are retained.
  These records can clutter the database over time leading to performance issues on database migration as well as performance issues  querying the database. We need a way of optionally cleaning these records out so that they can be removed or at least archived.    I will attach a patch which provides an archiver utility to achieve this. It supplies an archive and archive restore function.  I've can include tests when I get feedback on this.

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