Need mechanism too cleanup deleted image rows from the database

Bug #1092188 reported by Therese McHale
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Opinion
Wishlist
Unassigned

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18390

Changed in glance:
status: New → In Progress
Revision history for this message
Therese McHale (therese-mchale) wrote :
Changed in glance:
importance: Undecided → Wishlist
status: In Progress → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.