CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.

Set the removed field for snapshot when the storage gc removes the snapshot
This commit is contained in:
Likitha Shetty 2013-08-09 18:20:16 +05:30
parent 8cf48ed2ce
commit ec669ff48e
1 changed files with 1 additions and 0 deletions

View File

@ -1158,6 +1158,7 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager, C
s_logger.debug("Deleting snapshot store DB entry: " + destroyedSnapshotStoreVO);
}
_snapshotDao.remove(destroyedSnapshotStoreVO.getSnapshotId());
_snapshotStoreDao.remove(destroyedSnapshotStoreVO.getId());
}