cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject [3/3] git commit: updated refs/heads/4.2 to 822991a
Date Fri, 09 Aug 2013 13:18:01 GMT
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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/92f578df
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/92f578df
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/92f578df

Branch: refs/heads/4.2
Commit: 92f578df7dd56a2679c42dd97a9442d02d409c0c
Parents: 21c74c6
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Fri Aug 9 18:20:16 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Fri Aug 9 18:23:35 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/storage/StorageManagerImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/92f578df/server/src/com/cloud/storage/StorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/StorageManagerImpl.java b/server/src/com/cloud/storage/StorageManagerImpl.java
index f49d20d..ad5c71a 100755
--- a/server/src/com/cloud/storage/StorageManagerImpl.java
+++ b/server/src/com/cloud/storage/StorageManagerImpl.java
@@ -1218,6 +1218,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());
                     }
 


Mime
View raw message