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

git commit: updated refs/heads/master to b1915f3

Repository: cloudstack
Updated Branches:
  refs/heads/master 330bd2748 -> b1915f35f


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

Branch: refs/heads/master
Commit: b1915f35f86ffd9101b043f8114fe15a061f5e35
Parents: 330bd27
Author: Mike Tutkowski <mi...@solidfire.com>
Authored: Fri Nov 7 07:49:23 2014 -0700
Committer: Mike Tutkowski <mi...@solidfire.com>
Committed: Fri Nov 7 07:49:53 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b1915f35/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 23db12d..770dcb9 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();