]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixed erroneous force full copy in ceph backup driver
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Fri, 6 Sep 2013 19:40:38 +0000 (20:40 +0100)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Tue, 10 Sep 2013 13:41:57 +0000 (09:41 -0400)
commitc5060dd0e796ac92ecb2b5d75f9e700509827806
tree428af6f15b8562a4fa99e58f865dc59d09b5fcae
parent78544f80fac264cfc249962d7439e7a612db887a
Fixed erroneous force full copy in ceph backup driver

The following steps should not result in a forced full copy:

1. create vol
2. create backup (works fine i.e. uses incremental diff)
3. delete backup
4. create new backup (full copy forced because volume backup-snap exists and is not ignored)

This patch resolves the above problem.

Change-Id: I61c245219f54f7ee942e06e343c5d79d4cab947b
Fixes: bug #1221836
cinder/backup/drivers/ceph.py
cinder/tests/test_backup_ceph.py