cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject git commit: updated refs/heads/master to b1915f3
Date Fri, 07 Nov 2014 14:50:36 GMT
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 <mike.tutkowski@solidfire.com>
Authored: Fri Nov 7 07:49:23 2014 -0700
Committer: Mike Tutkowski <mike.tutkowski@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();
 


Mime
View raw message