You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2014/11/10 10:36:54 UTC

[16/25] git commit: updated refs/heads/master to 55b6e34

Allow infrastructure to handle delete of volume from DB

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

Branch: refs/heads/master
Commit: 27d6bff84504bdac9e973bdd37cc466dc4b8d7d6
Parents: 1c9775b
Author: Mike Tutkowski <mi...@solidfire.com>
Authored: Fri Nov 7 07:52:47 2014 -0700
Committer: Mike Tutkowski <mi...@solidfire.com>
Committed: Fri Nov 7 07:52:47 2014 -0700

----------------------------------------------------------------------
 .../datastore/driver/ElastistorPrimaryDataStoreDriver.java        | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/27d6bff8/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver/ElastistorPrimaryDataStoreDriver.java
----------------------------------------------------------------------
diff --git a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver/ElastistorPrimaryDataStoreDriver.java b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver/ElastistorPrimaryDataStoreDriver.java
index 20c9289..5e6a32c 100755
--- a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver/ElastistorPrimaryDataStoreDriver.java
+++ b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver/ElastistorPrimaryDataStoreDriver.java
@@ -231,9 +231,6 @@ public class ElastistorPrimaryDataStoreDriver extends CloudStackPrimaryDataStore
             }
 
             if (result) {
-
-                _volumeDao.deleteVolumesByInstance(volumeInfo.getId());
-
                 long usedBytes = storagePool.getUsedBytes();
                 long capacityIops = storagePool.getCapacityIops();