Remove unnecessary db calls made to fetch original metadata when delete flag is set to True

Bug #1246291 reported by Aswad Rangnekar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Aswad Rangnekar

Bug Description

Found in commit 75bcf70ed4698f0ffba4c6a7236a1e30b1214b57

Original metadata is retrieved unnecessarily from the database when delete flag is set to True in the following methods in cinder volume api.

update_volume_metadata
update_volume_admin_metadata
update_snapshot_metadata

Tags: ntt
Changed in cinder:
assignee: nobody → Aswad Rangnekar (aswad-r)
description: updated
Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
milestone: none → icehouse-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

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

Reviewed: https://review.openstack.org/54544
Committed: http://github.com/openstack/cinder/commit/d281149ea0f860c7c862f7897710d2e1fcb681e7
Submitter: Jenkins
Branch: master

commit d281149ea0f860c7c862f7897710d2e1fcb681e7
Author: Aswad Rangnekar <email address hidden>
Date: Wed Oct 30 05:45:35 2013 -0700

    Remove unused db calls to fetch original metadata

    Remove unnecessary db calls made to fetch
    original metadata when delete flag is set
    to True.

    Closes-Bug: #1246291

    Change-Id: If7483b8b21f71efa5e7c211b031170bc03eb6b9b

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-1 → 2014.1
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.