You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ni...@apache.org on 2013/10/21 23:54:53 UTC
git commit: updated refs/heads/master to 17dd9a8
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<ni...@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 <ni...@citrix.com>
Authored: Mon Oct 21 14:53:52 2013 -0700
Committer: Nitin Mehta <ni...@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());