]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Deleting a backup removed the backup record from database
authorMichael Kerrin <michael.kerrin@hp.com>
Wed, 17 Apr 2013 15:36:28 +0000 (15:36 +0000)
committerMichael Kerrin <michael.kerrin@hp.com>
Mon, 29 Apr 2013 08:09:24 +0000 (08:09 +0000)
commita4ba17b668bd893d50fd4f3a5453da89966a77e3
tree3ba67edbb0dd80e249a9afbeb64a76545a029687
parentb2e20f87d285a3547e0b43dd052482f49e77e2d9
Deleting a backup removed the 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
cinder/db/sqlalchemy/api.py
cinder/tests/test_backup.py