cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject [1/7] git commit: updated refs/heads/master to 5c36766
Date Fri, 09 Aug 2013 13:37:31 GMT
Updated Branches:
  refs/heads/master 8cf48ed2c -> 5c36766ad


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/ec669ff4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ec669ff4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ec669ff4

Branch: refs/heads/master
Commit: ec669ff48eddc45154ab9554ded9952b36ae2418
Parents: 8cf48ed
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:48:29 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/ec669ff4/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 5c16b5e..9f720d6 100755
--- a/server/src/com/cloud/storage/StorageManagerImpl.java
+++ b/server/src/com/cloud/storage/StorageManagerImpl.java
@@ -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());
                     }
 


Mime
View raw message