← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1539006] Re: Update the image when you delete

 

Reviewed:  https://review.openstack.org/273982
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=c686033348e7e90f9ef841552817bf9f07313310
Submitter: Jenkins
Branch:    master

commit c686033348e7e90f9ef841552817bf9f07313310
Author: Darja Shakhray <dshakhray@xxxxxxxxxxxx>
Date:   Fri Jan 29 13:22:48 2016 +0300

    Fix update all props when you delete image
    
    Fix update all props when you delete an image from the database.
    Extra updating image increases the load on the db.
    Added update status to 'deleted' or 'pending_delete'.
    
    Closes-bug: #1539006
    
    Change-Id: If58862139ad8a3a45cdb5d3e84eca6358d40608b


** Changed in: glance
       Status: In Progress => Fix Released

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

Title:
  Update the image when you delete

Status in Glance:
  Fix Released

Bug description:
  Do update the image when you delete an image from the database. Extra
  updating image  increases the load on the db.

  https://github.com/openstack/glance/blob/master/glance/db/__init__.py#L285-L295

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


References