]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update volume and snapshot status on delete
authorClay Gerrard <clay.gerrard@gmail.com>
Mon, 22 Oct 2012 21:47:12 +0000 (16:47 -0500)
committerClay Gerrard <clay.gerrard@gmail.com>
Mon, 22 Oct 2012 21:52:15 +0000 (16:52 -0500)
commit71994f45f51bde72b3323fb84a2461ae452b6949
treeaf8cc73f145581b6477b14f757a7a7c057e57735
parent186e32da976b5b9a28952fceb967e2a7119b5851
Update volume and snapshot status on delete

Change the status of "deleting" resources at the same time we update boolean
flag for deleted.  Makes dumb queries looking for stuck statuses a little
easier.

Change-Id: Iaf3386526a369f9bf281eb4be42eb11277038c92
cinder/db/sqlalchemy/api.py
cinder/tests/test_volume.py