]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dont delete backup record from database
authorMichael Kerrin <michael.kerrin@hp.com>
Wed, 17 Apr 2013 15:36:28 +0000 (15:36 +0000)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 3 May 2013 22:17:25 +0000 (16:17 -0600)
commit2e3c1cd77b3d523c48ff4a086cccf68fd11c4c19
tree6140dada0c9432c85e19f196366ea592c35f8d73
parent93247d22a256db8ed44791343ae942d4f0c40d7f
Dont delete backup record from database

Instead we should be marking the backup as deleted so that we have an audit
of all the backups. Backups are now marked deleted in the way that volumes
are.

Fixes bug: 1169943
Fixes bug: 1169857

Change-Id: I52c603be138c0f1d6d411d167977041255ac9053
(cherry picked from commit a4ba17b668bd893d50fd4f3a5453da89966a77e3)
cinder/db/sqlalchemy/api.py
cinder/tests/test_backup.py