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

Bug #1246291 reported by Aswad Rangnekar on 2013-10-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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 Edit Tag help
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

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) on 2013-12-04
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers