cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: updated refs/heads/master to 17dd9a8
Date Mon, 21 Oct 2013 21:54:53 GMT
Updated Branches:
  refs/heads/master 25d6e6ec6 -> 17dd9a832


CLOUDSTACK-3737:
Delete the uploaded volume once its copied successfully to the primary storage.
Signed off by : nitin mehta<nitin.mehta@citrix.com>


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

Branch: refs/heads/master
Commit: 17dd9a832b1f3eb19163ac0948688bf78a0b4de5
Parents: 25d6e6e
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Mon Oct 21 14:53:52 2013 -0700
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Mon Oct 21 14:54:42 2013 -0700

----------------------------------------------------------------------
 .../org/apache/cloudstack/storage/volume/VolumeServiceImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/17dd9a83/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
----------------------------------------------------------------------
diff --git a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
index c902aef..b367dee 100644
--- a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
+++ b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
@@ -725,7 +725,7 @@ public class VolumeServiceImpl implements VolumeService {
 
             srcVolume.processEvent(Event.OperationSuccessed);
             destVolume.processEvent(Event.OperationSuccessed, result.getAnswer());
-            // srcVolume.getDataStore().delete(srcVolume);
+            srcVolume.getDataStore().delete(srcVolume);
             future.complete(res);
         } catch (Exception e) {
             res.setResult(e.toString());


Mime
View raw message