You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2014/11/11 13:03:49 UTC
[10/50] [abbrv] git commit: updated
refs/heads/statscollector-graphite to e06a814
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/statscollector-graphite
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();